PageSourceSearch

https://www.man.com/sites/default/assets/js/js_Ddl1ifEJo05R7IouSyk…6q4c7fR4NtXbJ6xyRziNX1witHSIfR2uHjdfABWPErY

js man.com collected 2026-09-24 09:17:30 UTC 1,122,358 bytes, 48 lines download raw bytes

1/* @license MIT https://raw.githubusercontent.com/jquery/jquery/3.7.1/LICENSE.txt */
vendor: 87,533 bytes, lines 2-3
2/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
3!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={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 Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
4;
5/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
6/*! @drupal/once - v1.0.1 - 2021-06-12 */
7var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
8
9;
10/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
11window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(typeof drupalTranslations!=='undefined'&&drupalTranslations.strings&&drupalTranslations.strings[options.context]&&drupalTranslations.strings[options.context][str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.cloneNode(false).href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;
11if(typeof drupalTranslations!=='undefined'&&drupalTranslations.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&typeof console!=='undefined'&&console.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(func in Drupal.theme)return Drupal.theme[func](...args);};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
12if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);;
vendor: 6,788 bytes, lines 13-23
13/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
14/*!
15* tabbable 6.3.0
16* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
17*/
18!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,o=t.tabbable={};e(o),o.noConflict=function(){return t.tabbable=n,o}}())}(this,(function(t){"use strict";var e=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],n=e.join(","),o="undefined"==typeof Element,r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){var n;void 0===e&&(e=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||e&&t&&a(t.parentNode)},l=function(t,e,o){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&r.call(t,n)&&i.unshift(t),i=i.filter(o)},u=function(t,e,o){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=d.length?d:c.children,s=u(f,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{r.call(c,n)&&o.filter(c)&&(e||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!a(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var v=u(!0===p?c.children:p.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:c,candidates:v})}else l.unshift.apply(l,c.children)}}return i},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||i(t),o=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!r||r===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,o=e.height;return 0===n&&0===o},v=function(t,e){var n=e.displayCheck,o=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var a=r.call(t,"details>summary:first-of-type")?t.parentElement:t;if(r.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof o){for(var l=t;t;){var u=t.parentElement,c=i(t);if(u&&!u.shadowRoot&&!0===o(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,o,r,a=t&&i(t),l=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(l)||null!=t&&null!==(r=t.ownerDocument)&&void 0!==r&&r.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=a=i(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t,e){return!(e.disabled||a(e)||function(t){return s(t)&&"hidden"===t.type}(e)||v(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var o=e.children.item(n);if("LEGEND"===o.tagName)return!!r.call(e,"fieldset[disabled] *")||!o.contains(t)}return!0}e=e.parentElement}return!1}(e))},y=function(t,e){return!(p(e)||d(e)<0||!b(t,e))},m=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},g=function(t){var e=[],n=[];return t.forEach((function(t,o){var r=!!t.scopeParent,i=r?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,r),l=r?g(t.candidates):i;0===a?r?e.push.apply(e,l):e.push(i):n.push({documentOrder:o,tabIndex:a,item:t,isScope:r,content:l})})),n.sort(f).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(e)},w=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:b.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):l(t,e.includeContainer,b.bind(null,e))},t.getTabIndex=d,t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,w)&&b(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,n)&&y(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:y.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:m}):l(t,e.includeContainer,y.bind(null,e)),g(n)}}));
19
20;
21/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
22Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};;
23(function($,Drupal,once){Drupal.behaviors.betterExposedFiltersAutoSubmit={attach:function(context,settings){let selectors='';
23if(drupalSettings.better_exposed_filters.auto_submit_sort_only)selectors='form[data-bef-auto-submit-sort-only] .form-item-sort-order';else selectors='form[data-bef-auto-submit-full-form], [data-bef-auto-submit-full-form] form, [data-bef-auto-submit]';$(selectors,context).addBack(selectors).find('input:text:not(.hasDatepicker), textarea, select').each(function(){const $el=$(this);const $valueLength=$el.val().length*2;const $tagName=$el[0].tagName;if($tagName==='SELECT')setFocus($el);else{$el[0].setSelectionRange($valueLength,$valueLength);setFocus($el,$valueLength);}});function setFocus($el){const observer=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){const $lastTriggeredSelector=$(settings.bef_autosubmit_target).attr('data-drupal-selector');if($el.attr('data-drupal-selector')&&$el.attr('data-drupal-selector')===$lastTriggeredSelector)$el.focus();}});});observer.observe($el.get(0));}$(selectors,context).addBack(selectors).each(function(i,e){const $e=$(e);let $needsAutoSubmit=$e;let autoSubmitDelay=500;if(e.hasAttribute('data-bef-auto-submit-delay'))autoSubmitDelay=$e.data('bef-auto-submit-delay');else{if(!e.hasAttribute('data-bef-auto-submit-full-form')){const $container=$e.closest('[data-bef-auto-submit-full-form]');if($container.length&&$container.get(0).hasAttribute('data-bef-auto-submit-delay')){$needsAutoSubmit=$container;autoSubmitDelay=$container.data('bef-auto-submit-delay');}}}autoSubmitDelay=autoSubmitDelay||500;let dateInputChangeDebounce=Drupal.debounce(triggerSubmit,autoSubmitDelay,false);$(once('bef-auto-submit',$needsAutoSubmit)).on('change',function(e){return e.target.type==='date'?dateInputChangeDebounce(e):triggerSubmit(e);}).on('keyup',Drupal.debounce(triggerSubmit,autoSubmitDelay,false));});function triggerSubmit(e){const ignoredKeyCodes=[16,17,18,20,33,34,35,36,37,38,39,40,9,13,27,32];const $target=$(e.target);const $form=e.target.form?$(e.target.form):$target.closest('form');const $submit=$form.find('[data-bef-auto-submit-click]');const mediaQuery=$target.closest('form').data('bef-auto-submit-media-query');if(mediaQuery&&!matchMedia(mediaQuery).matches)return true;if($target.is('[data-bef-auto-submit-exclude], :submit, .select2-search__field, .chosen-search-input'))return true;let textfieldMinimumLength=$target.closest('form').data('bef-auto-submit-minimum-length')||1;let inputTextLength=$target.val().length;let textfieldHasMinimumLength=($target.is(':text:not(.hasDatepicker), textarea')&&inputTextLength>=textfieldMinimumLength)||$target.is('[type="checkbox"], [type="radio"]');if((textfieldHasMinimumLength||inputTextLength===0)&&$.inArray(e.keyCode,ignoredKeyCodes)===-1&&!e.altKey&&!e.ctrlKey&&!e.shiftKey)$submit.click();else{if(e.type==='change'){let target=$target.is(':text:not(.hasDatepicker), textarea');if(target&&textfieldHasMinimumLength)$submit.click();else{if(!target)$submit.click();}}}settings.bef_autosubmit_target=$target;}}};}(jQuery,Drupal,once));;
24(function($,Drupal,once){Drupal.behaviors.betterExposedFilters={attach:function(context){$('.bef-tree input[type=checkbox], .bef-checkboxes input[type=checkbox]').change(function(){_bef_highlight(this,context);}).filter(':checked').closest('.form-item',context).addClass('highlight');}};function _bef_highlight(elem,context){$elem=$(elem,context);$elem.attr('checked')?$elem.closest('.form-item',context).addClass('highlight'):$elem.closest('.form-item',context).removeClass('highlight');}Drupal.behaviors.autosubmitExcludeTextfield={attach:function(context,settings){if(!settings.better_exposed_filters?.autosubmit_exclude_textfield)return;$(once('autosubmit-exclude-textfield','.bef-exposed-form',context)).each(function(){$(this).find('*[type="text"]').attr('data-bef-auto-submit-exclude','');});}};Drupal.behaviors.befSingleCheckboxFix={attach:function(context,settings){once('befSingleCheckboxFix','form.views-exposed-form',context).forEach((form)=>{const $form=$(form);const $checkboxes=$form.find('input[type="checkbox"].single-checkbox');$form.on('submit',function(){$checkboxes.each(function(){const $checkbox=$(this);const name=$checkbox.attr('name');$form.find('input[type="hidden"][name="'+name+'"]').remove();if(!$checkbox.is(':checked'))$('<input>').attr({type:'hidden',name,value:0}).appendTo($form);});});});}};})(jQuery,Drupal,once);;
25(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}
vendor: 3,483 bytes, lines 25-27
25" class="progress" aria-live="polite">`+'<div class="progress__label">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);;
26/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
27loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;
27for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();;
28/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
29(function(Drupal,debounce){let liveElement;const announcements=[];Drupal.behaviors.drupalAnnounce={attach(context){if(!liveElement){liveElement=document.createElement('div');liveElement.id='drupal-live-announce';liveElement.className='visually-hidden';liveElement.setAttribute('aria-live','polite');liveElement.setAttribute('aria-busy','false');document.body.appendChild(liveElement);}}};function announce(){const text=[];let priority='polite';let announcement;const il=announcements.length;for(let i=0;i<il;i++){announcement=announcements.pop();text.unshift(announcement.text);if(announcement.priority==='assertive')priority='assertive';}if(text.length){liveElement.innerHTML='';liveElement.setAttribute('aria-busy','true');liveElement.setAttribute('aria-live',priority);liveElement.innerHTML=text.join('\n');liveElement.setAttribute('aria-busy','false');}}Drupal.announce=function(text,priority){announcements.push({text,priority});return debounce(announce,200)();};})(Drupal,Drupal.debounce);;
30((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){Array.prototype.forEach.call(this.messageWrapper.querySelectorAll('[data-drupal-message-id]'),(message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);;
31(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;
31once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={};elementSettings.url=$(el.form).attr('action');elementSettings.setClick=true;elementSettings.event='click';elementSettings.progress={type:'throbber'};elementSettings.base=el.id;elementSettings.element=el;Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element&&this.element.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl[originalUrl])drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=$.parseJSON(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl[ajax.url])if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
31$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl[ajax.url]&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
31d}`,$.noop,this.progress.method,$.noop);if(this.progress.message)progressBar.setProgress(-1,this.progress.message);if(this.progress.url)progressBar.startMonitoring(this.progress.url,this.progress.interval||1500);this.progress.element=$(Drupal.theme('ajaxProgressBar',progressBar.element));this.progress.object=progressBar;$(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=$(Drupal.theme('ajaxProgressThrobber',this.progress.message));if($(this.element).closest('[data-drupal-ajax-container]').length)$(this.element).closest('[data-drupal-ajax-container]').after(this.progress.element);else $(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=$(Drupal.theme('ajaxProgressIndicatorFullscreen'));$('body').append(this.progress.element);};Drupal.Ajax.prototype.commandExecutionQueue=function(response,status){const ajaxCommands=this.commands;return Object.keys(response||{}).reduce((executionQueue,key)=>executionQueue.then(()=>{const {command}=response[key];if(command&&ajaxCommands[command])return ajaxCommands[command](this,response[key],status);}),Promise.resolve());};Drupal.Ajax.prototype.success=function(response,status){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.element).prop('disabled',false);const elementParents=$(this.element).parents('[data-drupal-selector]').addBack().toArray();const focusChanged=Object.keys(response||{}).some((key)=>{const {command,method}=response[key];return (command==='focusFirst'||command==='openDialog'||(command==='invoke'&&method==='focus'));});return (this.commandExecutionQueue(response,status).then(()=>{if(!focusChanged){let target=false;if(this.element){if($(this.element).data('refocus-blur')&&this.preCommandsFocusedElementSelector)target=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`);if(!target&&!$(this.element).data('disable-refocus')){for(let n=elementParents.length-1;!target&&n>=0;n--)target=document.querySelector(`[data-drupal-selector="${elementParents[n].getAttribute('data-drupal-selector')}"]`);}}if(target)$(target).trigger('focus');}if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}this.settings=null;}).catch((error)=>console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error',{'!error':error}))));};Drupal.Ajax.prototype.getEffect=function(response){const type=response.effect||this.effect;const speed=response.speed||this.speed;const effect={};if(type==='none'){effect.showEffect='show';effect.hideEffect='hide';effect.showSpeed='';}else if(type==='fade'){effect.showEffect='fadeIn';effect.hideEffect='fadeOut';effect.showSpeed=speed;}else{effect.showEffect=`${type}Toggle`;effect.hideEffect=`${type}Toggle`;effect.showSpeed=speed;}return effect;};Drupal.Ajax.prototype.error=function(xmlhttprequest,uri,customMessage){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.wrapper).show();$(this.element).prop('disabled',false);if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}throw new Drupal.AjaxError(xmlhttprequest,uri,customMessage);};Drupal.theme.ajaxWrapperNewContent=($newContent,ajax,response)=>(response.effect||ajax.effect)!=='none'&&$newContent.filter((i)=>!(($newContent[i].nodeName==='#comment'||($newContent[i].nodeName==='#text'&&/^(\s|\n|\r)*$/.test($newContent[i].textContent))))).length>1?Drupal.theme('ajaxWrapperMultipleRootElements',$newContent):$newContent;Drupal.theme.ajaxWrapperMultipleRootElements=($elements)=>$('<div></div>').append($elements);Drupal.AjaxCommands=function(){};Drupal.AjaxCommands.prototype={insert(ajax,response){const $wrapper=response.selector?$(response.selector):$(ajax.wrapper);const method=response.method||ajax.method;const effect=ajax.getEffect(response);const settings=response.settings||ajax.settings||drupalSettings;const parseHTML=(htmlString)=>{const fragment=document.createDocumentFragment();const template=fragment.appendChild(document.createElement('template'));template.innerHTML=htmlString;return template.content.childNodes;};let $newContent=$(parseHTML(response.data));
31$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){if(typeof response.data==='string'){Drupal.deprecationError({message:'Passing a string to the Drupal.ajax.add_css() method is deprecated in 10.1.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3154948.'});$('head').prepend(response.data);return;}const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;
31if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&settings.isInProgress&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);;
32(function($,Drupal){const animation=`
33      <div class="sk-cube-grid">
34        <div class="sk-cube sk-cube1"></div>
35        <div class="sk-cube sk-cube2"></div>
36        <div class="sk-cube sk-cube3"></div>
37        <div class="sk-cube sk-cube4"></div>
38        <div class="sk-cube sk-cube5"></div>
39        <div class="sk-cube sk-cube6"></div>
40        <div class="sk-cube sk-cube7"></div>
41        <div class="sk-cube sk-cube8"></div>
42      </div>
43    `;const simpleThrobber=`<i class="ms-1 spinner-border spinner-border-sm" role="status" aria-hidden="true"></i>`;Drupal.Ajax.prototype.setProgressIndicatorMinimalistic=function(){this.progress.element=$(simpleThrobber);if(this.element.tagName==='INPUT'){$(this.element).after(this.progress.element);return;}$(this.element).append(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){if($(this.element).parents('.modal-content').length){this.progress.element=$('<div class="modal-loader">').html(animation);$(this.element).parents('.modal-content').append(this.progress.element);}else{if($(this.element).hasClass('use-ajax-simple-throbber')){this.progress.element=$(simpleThrobber);$(this.element).append(this.progress.element);return;}this.progress.element=$(animation);$(this.element).after(this.progress.element);}};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){if($(this.element).parents('.views-element-container').length){this.progress.element=$('<div class="view-loader">').html(animation);$(this.element).parents('.views-element-container').append(this.progress.element);}else{this.progress.element=$(animation);$(this.element).after(this.progress.element);}};function hasPageReloadCommand(response){if(!response||!Array.isArray(response))return false;return response.some((command)=>command&&(command.command==='page_reload'||command.command==='redirect'));}const originalSuccess=Drupal.Ajax.prototype.success;Drupal.Ajax.prototype.success=function(response,status){const hasPageReload=hasPageReloadCommand(response);if(hasPageReload){const progressElement=this.progress.element;const progressObject=this.progress.object;this.progress.element=null;this.progress.object=null;const result=originalSuccess.call(this,response,status);this.progress.element=progressElement;this.progress.object=progressObject;return result;}else return originalSuccess.call(this,response,status);};})(jQuery,Drupal);;
44/*! For license information please see digital.js.LICENSE.txt */
45(()=>{var t={6378(t,e,i){t.exports=function(t,e,i,s){"use strict";const n="5.3.8";class r extends i{constructor(e,i){super(),(e=s.getElement(e))&&(this._element=e,this._config=this._getConfig(i),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){s.executeAfterTransition(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(e){return t.get(s.getElement(e),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return n}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}return r}(i(7444),i(3739),i(86),i(5406))},7444(t){t.exports=function(){"use strict";const t=new Map;return{set(e,i,s){t.has(e)||t.set(e,new Map);const n=t.get(e);n.has(i)||0===n.size?n.set(i,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,i)=>t.has(e)&&t.get(e).get(i)||null,remove(e,i){if(!t.has(e))return;const s=t.get(e);s.delete(i),0===s.size&&t.delete(e)}}}()},3739(t,e,i){t.exports=function(t){"use strict";const e=/[^.]*(?=\..*)\.|.*/,i=/\..*/,s=/::\d+$/,n={};let r=1;
vendor: 5,169 bytes, line 45
45const o={mouseenter:"mouseover",mouseleave:"mouseout"},a=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function l(t,e){return e&&`${e}::${r++}`||t.uidEvent||r++}function h(t){const e=l(t);return t.uidEvent=e,n[e]=n[e]||{},n[e]}function c(t,e){return function i(s){return y(s,{delegateTarget:t}),i.oneOff&&b.off(t,s.type,e),e.apply(t,[s])}}function d(t,e,i){return function s(n){const r=t.querySelectorAll(e);for(let{target:o}=n;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return y(n,{delegateTarget:o}),s.oneOff&&b.off(t,n.type,e,i),i.apply(o,[n])}}function u(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function p(t,e,i){const s="string"==typeof e,n=s?i:e||i;let r=v(t);return a.has(r)||(r=t),[s,n,r]}function f(t,i,s,n,r){if("string"!=typeof i||!t)return;let[a,f,g]=p(i,s,n);if(i in o){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};f=t(f)}const m=h(t),v=m[g]||(m[g]={}),b=u(v,f,a?s:null);if(b)return void(b.oneOff=b.oneOff&&r);const y=l(f,i.replace(e,"")),x=a?d(t,s,f):c(t,f);x.delegationSelector=a?s:null,x.callable=f,x.oneOff=r,x.uidEvent=y,v[y]=x,t.addEventListener(g,x,a)}function g(t,e,i,s,n){const r=u(e[i],s,n);r&&(t.removeEventListener(i,r,Boolean(n)),delete e[i][r.uidEvent])}function m(t,e,i,s){const n=e[i]||{};for(const[r,o]of Object.entries(n))r.includes(s)&&g(t,e,i,o.callable,o.delegationSelector)}function v(t){return t=t.replace(i,""),o[t]||t}const b={on(t,e,i,s){f(t,e,i,s,!1)},one(t,e,i,s){f(t,e,i,s,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[r,o,a]=p(e,i,n),l=a!==e,c=h(t),d=c[a]||{},u=e.startsWith(".");if(void 0===o){if(u)for(const i of Object.keys(c))m(t,c,i,e.slice(1));for(const[i,n]of Object.entries(d)){const r=i.replace(s,"");l&&!e.includes(r)||g(t,c,a,n.callable,n.delegationSelector)}}else{if(!Object.keys(d).length)return;g(t,c,a,o,r?i:null)}},trigger(e,i,s){if("string"!=typeof i||!e)return null;const n=t.getjQuery();let r=null,o=!0,a=!0,l=!1;i!==v(i)&&n&&(r=n.Event(i,s),n(e).trigger(r),o=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),l=r.isDefaultPrevented());const h=y(new Event(i,{bubbles:o,cancelable:!0}),s);return l&&h.preventDefault(),a&&e.dispatchEvent(h),h.defaultPrevented&&r&&r.preventDefault(),h}};function y(t,e={}){for(const[i,s]of Object.entries(e))try{t[i]=s}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>s})}return t}return b}(i(5406))},4306(t){t.exports=function(){"use strict";function t(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function e(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}return{setDataAttribute(t,i,s){t.setAttribute(`data-bs-${e(i)}`,s)},removeDataAttribute(t,i){t.removeAttribute(`data-bs-${e(i)}`)},getDataAttributes(e){if(!e)return{};const i={},s=Object.keys(e.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of s){let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1),i[s]=t(e.dataset[n])}return i},getDataAttribute:(i,s)=>t(i.getAttribute(`data-bs-${e(s)}`))}}()},5148(t,e,i){t.exports=function(t){"use strict";const e=e=>{let i=e.getAttribute("data-bs-target");if(!i||"#"===i){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),i=t&&"#"!==t?t.trim():null}return i?i.split(",").map((e=>t.parseSelector(e))).join(","):null},i={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let s=t.parentNode.closest(e);for(;s;)i.push(s),s=s.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(i,e).filter((e=>!t.isDisabled(e)&&t.isVisible(e)))},getSelectorFromElement(t){const s=e(t);return s&&i.findOne(s)?s:null},getElementFromSelector(t){const s=e(t);return s?i.findOne(s):null},getMultipleElementsFromSelector(t){const s=e(t);return s?i.find(s):[]}};return i}
45(i(5406))},3236(t,e,i){t.exports=function(t,e,i,s,n,r,o,a){"use strict";const l="modal",h=".bs.modal",c="Escape",d=`hide${h}`,u=`hidePrevented${h}`,p=`hidden${h}`,f=`show${h}`,g=`shown${h}`,m=`resize${h}`,v=`click.dismiss${h}`,b=`mousedown.dismiss${h}`,y=`keydown.dismiss${h}`,x=`click${h}.data-api`,w="modal-open",S="fade",E="show",C="modal-static",A=".modal.show",T=".modal-dialog",k=".modal-body",M='[data-bs-toggle="modal"]',O={backdrop:!0,focus:!0,keyboard:!0},L={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class _ extends t{constructor(t,e){super(t,e),this._dialog=i.findOne(T,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new a,this._addEventListeners()}static get Default(){return O}static get DefaultType(){return L}static get NAME(){return l}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||e.trigger(this._element,f,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(w),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(e.trigger(this._element,d).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(E),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){e.off(window,h),e.off(this._dialog,h),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new s({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new r({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const s=i.findOne(k,this._dialog);s&&(s.scrollTop=0),o.reflow(this._element),this._element.classList.add(E);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,g,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,y,(t=>{t.key===c&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),e.on(window,m,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),e.on(this._element,b,(t=>{e.one(this._element,v,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(w),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,p)}))}_isAnimated(){return this._element.classList.contains(S)}_triggerBackdropTransition(){if(e.trigger(this._element,u).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;"hidden"===i||this._element.classList.contains(C)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(C),this._queueCallback((()=>{this._element.classList.remove(C),this._queueCallback((()=>{this._element.style.overflowY=i}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=o.isRTL()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=o.isRTL()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=_.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method n
45amed "${t}"`);i[t](e)}}))}}return e.on(document,x,M,(function(t){const s=i.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),e.one(s,f,(t=>{t.defaultPrevented||e.one(s,p,(()=>{o.isVisible(this)&&this.focus()}))}));const n=i.findOne(A);n&&_.getInstance(n).hide(),_.getOrCreateInstance(s).toggle(this)})),n.enableDismissTrigger(_),o.defineJQueryPlugin(_),_}(i(6378),i(3739),i(5148),i(5214),i(681),i(4849),i(5406),i(7772))},5214(t,e,i){t.exports=function(t,e,i){"use strict";const s="backdrop",n="fade",r="show",o=`mousedown.bs.${s}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class h extends e{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return s}show(t){if(!this._config.isVisible)return void i.execute(t);this._append();const e=this._getElement();this._config.isAnimated&&i.reflow(e),e.classList.add(r),this._emulateAnimation((()=>{i.execute(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(r),this._emulateAnimation((()=>{this.dispose(),i.execute(t)}))):i.execute(t)}dispose(){this._isAppended&&(t.off(this._element,o),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(n),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=i.getElement(t.rootElement),t}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),t.on(e,o,(()=>{i.execute(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){i.executeAfterTransition(t,this._getElement(),this._config.isAnimated)}}return h}(i(3739),i(86),i(5406))},681(t,e,i){!function(t,e,i,s){"use strict";const n=(t,n="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;e.on(document,r,`[data-bs-dismiss="${o}"]`,(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),s.isDisabled(this))return;const r=i.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(r)[n]()}))};t.enableDismissTrigger=n,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(e,i(3739),i(5148),i(5406))},86(t,e,i){t.exports=function(t,e){"use strict";class i{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(i,s){const n=e.isElement(s)?t.getDataAttribute(s,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...e.isElement(s)?t.getDataAttributes(s):{},..."object"==typeof i?i:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(const[s,n]of Object.entries(i)){const i=t[s],r=e.isElement(i)?"element":e.toType(i);if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${r}" but expected type "${n}".`)}}}return i}(i(4306),i(5406))},4849(t,e,i){t.exports=function(t,e,i){"use strict";const s="focustrap",n=".bs.focustrap",r=`focusin${n}`,o=`keydown.tab${n}`,a="Tab",l="forward",h="backward",c={autofocus:!0,trapElement:null},d={autofocus:"boolean",trapElement:"element"};class u extends i{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return c}static get DefaultType(){return d}static get NAME(){return s}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),t.off(document,n),t.on(document,r,(t=>this._handleFocusin(t))),t.on(document,o,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,t.off(document,n))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const s=e.focusableChildren(i);0===s.length?i.focus():this._lastTabNavDirection===h?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===a&&(this._lastTabNavDirection=t.shiftKey?h:l)}}return u}(i(3739),i(5148),i(86))},5406(t,e){!function(t){"use strict";const e=1e6,i=1e3,s="transitionend",n=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),r=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),o=t=>{do{t+=Math.floor(Math.random()*e)}while(document.getElementById(t));return t},a=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:s}=window.getComputedStyle(t);const n=Number.parseFloat(e),r=Number.parseFloat(s);return n||r?(e=e.split(",")[0],s=s.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(s))*i):0},l=t=>{t.dispatchEvent(new Event(s))},h=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),c=t=>h(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(n(t)):null,d=t=>
45{if(!h(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},u=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),p=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?p(t.parentNode):null},f=()=>{},g=t=>{t.offsetHeight},m=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],b=t=>{"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of v)t()})),v.push(t)):t()},y=()=>"rtl"===document.documentElement.dir,x=t=>{b((()=>{const e=m();if(e){const i=t.NAME,s=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=s,t.jQueryInterface)}}))},w=(t,e=[],i=t)=>"function"==typeof t?t.call(...e):i,S=(t,e,i=!0)=>{if(!i)return void w(t);const n=5,r=a(e)+n;let o=!1;const h=({target:i})=>{i===e&&(o=!0,e.removeEventListener(s,h),w(t))};e.addEventListener(s,h),setTimeout((()=>{o||l(e)}),r)},E=(t,e,i,s)=>{const n=t.length;let r=t.indexOf(e);return-1===r?!i&&s?t[n-1]:t[0]:(r+=i?1:-1,s&&(r=(r+n)%n),t[Math.max(0,Math.min(r,n-1))])};t.defineJQueryPlugin=x,t.execute=w,t.executeAfterTransition=S,t.findShadowRoot=p,t.getElement=c,t.getNextActiveElement=E,t.getTransitionDurationFromElement=a,t.getUID=o,t.getjQuery=m,t.isDisabled=u,t.isElement=h,t.isRTL=y,t.isVisible=d,t.noop=f,t.onDOMContentLoaded=b,t.parseSelector=n,t.reflow=g,t.toType=r,t.triggerTransitionEnd=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(e)},7772(t,e,i){t.exports=function(t,e,i){"use strict";const s=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",n=".sticky-top",r="padding-right",o="margin-right";class a{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,r,(e=>e+t)),this._setElementAttributes(s,r,(e=>e+t)),this._setElementAttributes(n,o,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,r),this._resetElementAttributes(s,r),this._resetElementAttributes(n,o)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth(),n=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)};this._applyManipulationCallback(t,n)}_saveInitialAttribute(e,i){const s=e.style.getPropertyValue(i);s&&t.setDataAttribute(e,i,s)}_resetElementAttributes(e,i){const s=e=>{const s=t.getDataAttribute(e,i);null!==s?(t.removeDataAttribute(e,i),e.style.setProperty(i,s)):e.style.removeProperty(i)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(t,s){if(i.isElement(t))s(t);else for(const i of e.find(t,this._element))s(i)}}return a}(i(4306),i(5148),i(5406))},4467(t){var e,i;e="u"<typeof window?this:window,i=()=>(()=>{"use strict";let t,e,i,s,n,r,o,a,l;var h,c,d,u,p,f,g,m,v,b,y,x,w,S,E,C,A,T,k,M,O,L,_,P,D,I,B,N,z,R,F,H={d:(t,e)=>{for(var i in e)H.o(e,i)&&!H.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},W={};H.d(W,{default:()=>ga}),(h=v||(v={})).SVG_NS="http://www.w3.org/2000/svg",h.product="Highcharts",h.version="13.0.0",h.win="u">typeof window?window:{},h.doc=h.win.document,h.svg=!!h.doc?.createElementNS?.(h.SVG_NS,"svg")?.createSVGRect,h.pageLang=h.doc?.documentElement?.closest("[lang]")?.lang,h.userAgent=h.win.navigator?.userAgent||"",h.isChrome=h.win.chrome,h.isFirefox=-1!==h.userAgent.indexOf("Firefox"),h.isMS=/(edge|msie|trident)/i.test(h.userAgent)&&!h.win.opera,h.isSafari=!h.isChrome&&-1!==h.userAgent.indexOf("Safari"),h.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(h.userAgent),h.isWebKit=-1!==h.userAgent.indexOf("AppleWebKit"),h.deg2rad=2*Math.PI/360,h.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],h.noop=function(){},h.supportsPassiveEvents=function(){let t=!1;
vendor: 3,172 bytes, line 45
45if(!h.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});h.win.addEventListener&&h.win.removeEventListener&&(h.win.addEventListener("testPassive",h.noop,e),h.win.removeEventListener("testPassive",h.noop,e))}return t}(),h.charts=[],h.composed=[],h.dateFormats={},h.seriesTypes={},h.symbolSizes={},h.chartCount=0;let q=v,$={dark:{backgroundColor:"#141414",neutralColor:"#ffffff",highlightColor:"#2caffe"},light:{backgroundColor:"#ffffff",neutralColor:"#000000",highlightColor:"#0022ff",positiveColor:"#06b535",negativeColor:"#f21313"}},{doc:j,win:G}=q;function V(t,e,i,s={}){let n="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});let r=n.hcEvents;q.Point&&t instanceof q.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);let o=t.addEventListener;o&&o.call(t,e,i,!!q.supportsPassiveEvents&&{passive:void 0===s.passive?-1!==e.indexOf("touch"):s.passive,capture:!1}),r[e]||(r[e]=[]);let a={fn:i,order:"number"==typeof s.order?s.order:1/0};return r[e].push(a),r[e].sort(((t,e)=>t.order-e.order)),function(){Dt(t,e,i)}}function X(t){let e=t.length,i=t[0];for(;e--;)t[e]<i&&(i=t[e]);return i}function Y(t){let e=t.length,i=t[0];for(;e--;)t[e]>i&&(i=t[e]);return i}function U(t,e,i){let s,n=yt(e)&&!et(i),r=(e,i)=>{et(e)?t.setAttribute(i,e):n?(s=t.getAttribute(i))||"class"!==i||(s=t.getAttribute(i+"Name")):t.removeAttribute(i)};return yt(e)?r(i,e):At(e,r),s}function K(t,e,i){return t>e?t<i?t:i:e}function Z(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}function Q(t,e,i,s,n){let r=j.createElement(t);return e&&ot(r,e),n&&tt(r,{padding:"0",border:"none",margin:"0"}),i&&tt(r,i),s&&s.appendChild(r),r}function J(t,e=0,i){let s=e%2/2,n=i?-1:1;return(Math.round(t*n-s)+s)*n}function tt(t,e){ot(t.style,e)}function et(t){return null!=t}function it(t,e,i){At(t,(function(s,n){s!==e&&s?.destroy&&s.destroy(),(s?.destroy||!i)&&delete t[n]}))}function st(t){t?.parentElement?.removeChild(t)}function nt(t,e,i,s){let n={};return function t(e,n,r,o){let a=i?n:e;At(e,(function(i,l){if(!o&&s&&s.indexOf(l)>-1&&n[l]){i=It(i),r[l]=[];for(let e=0;e<Math.max(i.length,n[l].length);e++)n[l][e]&&(void 0===i[e]?r[l][e]=n[l][e]:(r[l][e]={},t(i[e],n[l][e],r[l][e],o+1)))}else St(i,!0)&&!i.nodeType?(r[l]=xt(i)?[]:{},t(i,n[l]||{},r[l],o+1),0===Object.keys(r[l]).length&&("colorAxis"!==l||0!==o)&&delete r[l]):(e[l]!==n[l]||l in e&&!(l in n))&&"__proto__"!==l&&"constructor"!==l&&(r[l]=a[l])}))}(t,e,n,0),n}function rt(t,e){let i=t.length;for(;i--;)if(t[i]===e){t.splice(i,1);break}}function ot(t,e){let i;for(i in t||(t={}),e)t[i]=e[i];return t}function at(t,e){let i=function(){};return ot(i.prototype=new t,e),i}function lt(t,e,i,s){if(i=i||{},j?.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==q)){let s=j.createEvent("Events");s.initEvent(e,!0,!0),i=ot(s,i),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent(e,i)}else if(t.hcEvents){i.target||ot(i,{preventDefault:function(){i.defaultPrevented=!0},target:t,type:e});let s=[],n=t,r=!1;for(;n.hcEvents;)Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents[e]&&(s.length&&(r=!0),s.unshift.apply(s,n.hcEvents[e])),n=Object.getPrototypeOf(n);r&&s.sort(((t,e)=>
45t.order-e.order)),s.forEach((e=>{!1===e.fn.call(t,i,t)&&i.preventDefault()}))}s&&!i.defaultPrevented&&s.call(t,i)}let ht=(t="")=>({center:.5,right:1,middle:.5,bottom:1}[t]||0);function ct(t,e){let i,s,n,r,o=!e;return t.forEach((t=>{if(t.length>1)for(r=s=t.length-1;r>0;r--)(n=t[r]-t[r-1])<0&&!o?(e?.(),e=void 0):n&&(void 0===i||n<i)&&(i=n)})),i}function dt(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function ut(t,e){let i=t.split(".");for(;i.length&&et(e);){let t=i.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return St(e)&&(t=e["@this"]),t??e}let s=e[t.replace(/[\\'"]/g,"")];if(!et(s)||"function"==typeof s||"number"==typeof s.nodeType||s===G)return;e=s}return e}function pt(t,e,i){let s;if("width"===e){let e=Math.min(t.offsetWidth,t.scrollWidth),i=t.getBoundingClientRect?.().width;return i<e&&i>=e-1&&(e=Math.floor(i)),Math.max(0,e-(pt(t,"padding-left",!0)||0)-(pt(t,"padding-right",!0)||0))}if("height"===e)return Math.max(0,Math.min(t.offsetHeight,t.scrollHeight)-(pt(t,"padding-top",!0)||0)-(pt(t,"padding-bottom",!0)||0));let n=G.getComputedStyle(t,void 0);return n&&(s=n.getPropertyValue(e),Mt(i,"opacity"!==e)&&(s=Ot(s))),s}let ft=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let i,s=t.length;for(i=0;i<s;i++)if(e(t[i],i))return t[i]};function gt(t){et(t)&&clearTimeout(t)}function mt(t){return St(t)&&"number"==typeof t.nodeType}function vt(t){let e=t?.constructor;return!(!St(t,!0)||mt(t)||!e?.name||"Object"===e.name)}function bt(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function yt(t){return"string"==typeof t}function xt(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function wt(t){return"function"==typeof t}function St(t,e){return!(!t||"object"!=typeof t||e&&xt(t))}function Et(t,...e){let i,s=[t,...e],n={},r=function(t,e){return"object"!=typeof t&&(t={}),At(e,(function(i,s){"__proto__"!==s&&"constructor"!==s&&(!St(i,!0)||vt(i)||mt(i)?t[s]=e[s]:t[s]=r(t[s]||{},i))})),t};!0===t&&(n=s[1],s=Array.prototype.slice.call(s,2));let o=s.length;for(i=0;i<o;i++)n=r(n,s[i]);return n}function Ct(t,e,i,s,n){let r,o=t,a=t/(i=Mt(i,dt(t)));for(!e&&(e=n?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===s&&(1===i?e=e.filter((function(t){return t%1==0})):i<=.1&&(e=[1/i]))),r=0;r<e.length&&(o=e[r],(!n||!(o*i>=t))&&(n||!(a<=(e[r]+(e[r+1]||e[r]))/2)));r++);return Z(o*i,-Math.round(Math.log(.001)/Math.LN10))}function At(t,e,i){for(let s in t)Object.hasOwnProperty.call(t,s)&&e.call(i||t[s],t[s],s,t)}function Tt(t){let e=j.documentElement,i=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i.top+(G.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(G.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:i.width,height:i.height}}function kt(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t}function Mt(){let t=arguments,e=t.length;for(let i=0;i<e;i++){let e=t[i];if(null!=e)return e}}function Ot(t,e){return parseInt(t,e||10)}function Lt(t,e){return 0>t.indexOf(e)&&!!t.push(e)}function _t(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)}function Pt(t,...e){let i,s;do{for(s of(i=t,e))t=t.replace(s[0],s[1])}while(t!==i);return t}function Dt(t,e,i){function s(e,i){let s=t.removeEventListener;s&&s.call(t,e,i,!1)}function n(i){let n,r;t.nodeName&&(e?(n={})[e]=!0:n=i,At(n,(function(t,e){if(i[e])for(r=i[e].length;r--;)s(e,i[e][r].fn)})))}let r="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(r,"hcEvents")){let t=r.hcEvents;if(e){let r=t[e]||[];i?(t[e]=r.filter((function(t){return i!==t.fn})),s(e,i)):(n(t),t[e]=[])}else n(t),delete r.hcEvents}}function It(t){return xt(t)?t:[t]}function Bt(t,e){let i,s,n=t.length;for(s=0;s<n;s++)t[s].safeI=s;for(t.sort((function(t,s){return 0===(i=e(t,s))?t.safeI-s.safeI:i})),s=0;s<n;s++)delete t[s].safeI}function Nt(t,e,i){return e>0?setTimeout(t,e,i):(t.call(0,i),-1)}function zt(t){return yt(t)?t.substring(0,1).toUpperCase()+t.substring(1):String(t)}function Rt(t,e,i){let s=t[e];t[e]=function(){let t=arguments,e=this;return i.apply(this,[function(){return s.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}let{charts:Ft,win:Ht}=q;function Wt(t,e,i,s){let n=e?"Highcharts error":"Highcharts warning";32===t&&(t=`${n}: Deprecated member`);let r=bt(t),o=r?`${n} #${t}: www.highcharts.com/errors/${t}/`:t.toString();if(void 0!==s){let t="";r&&(o+="?"),At(s,(function(e,i){t+=`\n - ${i}: ${e}`,r&&(o+=encodeURI(i)+"="+encodeURI(e))})),o+=t}lt(q,"displayError",{chart:i,code:t,message:o,params:s},(function(){if(e)throw Error(o);Ht.console&&-1===Wt.messages.indexOf(o)&&console.warn(o)})),Wt.messages.push(o)}
45function qt(t,e){let i,s=t.options.index,n=e.length;for(i=t.options.isInternal?n:0;i<n+1;i++)if(!e[i]||bt(s)&&s<Mt(e[i].options.index,e[i]._i)||e[i].options.isInternal){e.splice(i,0,t);break}return i}(Wt||(Wt={})).messages=[];let $t={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5};Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let jt=(o=Math.random().toString(36).substring(2,9)+"-",a=0,function(){return"highcharts-"+(t?"":o)+a++});Ht.jQuery&&(Ht.jQuery.fn.highcharts=function(){let t=[].slice.call(arguments);if(this[0])return t[0]?(new(q[yt(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):Ft[U(this[0],"data-highcharts-chart")]});let{pageLang:Gt,win:Vt}=q,Xt=q.isSafari&&Vt.Intl&&!Vt.Intl.DateTimeFormat.prototype.formatRange,Yt=class extends class{constructor(t,e){this.options={timezone:"UTC"},this.variableTimezone=!1,this.Date=Vt.Date,this.update(t),this.lang=e}update(t={}){this.dTLCache={},this.options=t=Et(!0,this.options,t);let{timezoneOffset:e,useUTC:i,locale:s}=t;this.Date=t.Date||Vt.Date||Date;let n=t.timezone;et(i)&&(n=i?"UTC":void 0),e&&e%60==0&&(n="Etc/GMT"+(e>0?"+":"")+e/60),this.variableTimezone="UTC"!==n&&0!==n?.indexOf("Etc/GMT"),this.timezone=n,this.lang&&s&&(this.lang.locale=s),["months","shortMonths","weekdays","shortWeekdays"].forEach((t=>{let e=/months/i.test(t),i=/short/.test(t),s={timeZone:"UTC"};s[e?"month":"weekday"]=i?"short":"long",this[t]=(e?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map((t=>this.dateFormat(s,24*(e?31:1)*36e5*t)))}))}toParts(t){let[e,i,s,n,r,o,a]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},t,"es").split(/(?:, | |\/|:)/g);return[+n,s-1,+i,+r,+o,+a,Math.floor(Number(t)||0)%1e3,"DLMXJVS".indexOf(e)]}dateTimeFormat(t,e,i=this.options.locale||Gt){let s=JSON.stringify(t)+i;yt(t)&&(t=this.str2dtf(t));let n=this.dTLCache[s];if(!n){t.timeZone??(t.timeZone=this.timezone);try{n=new Intl.DateTimeFormat(i,t)}catch(e){/Invalid time zone/i.test(e.message)?(Wt(34),t.timeZone="UTC",n=new Intl.DateTimeFormat(i,t)):Wt(e.message,!1)}}return this.dTLCache[s]=n,n?.format(e)||""}str2dtf(t,e={}){let i={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};
vendor: 4,261 bytes, line 45
45return Object.keys(i).forEach((s=>{-1!==t.indexOf(s)&&ot(e,i[s])})),e}makeTime(t,e,i=1,s=0,n,r,o){let a=this.Date.UTC(t,e,i,s,n||0,r||0,o||0);if("UTC"!==this.timezone){let t=this.getTimezoneOffset(a);if(a+=t,-1!==[2,3,8,9,10,11].indexOf(e)&&(s<5||s>20)){let e=this.getTimezoneOffset(a);t!==e?a+=e-t:t-36e5!==this.getTimezoneOffset(a-36e5)||Xt||(a-=36e5)}}return a}parse(t){if(!yt(t))return t??void 0;let e=(t=t.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(t),i=/^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(t);e||i||(t+="Z");let s=Date.parse(t);return bt(s)?s+(!e||i?this.getTimezoneOffset(s):0):void 0}getTimezoneOffset(t){if("UTC"!==this.timezone){let[e,i,s,n,r=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},t,"en").split(/(GMT|:)/).map(Number),o=-60*(s+r/60)*6e4;if(bt(o))return o}return 0}dateFormat(t,e,i){let s=this.lang;if(!et(e)||isNaN(e))return s?.invalidDate||"";if(yt(t=t??"%Y-%m-%d %H:%M:%S")){let i,n=/%\[([a-zA-Z]+)\]/g;for(;i=n.exec(t);)t=t.replace(i[0],this.dateTimeFormat(i[1],e,s?.locale))}if(yt(t)&&-1!==t.indexOf("%")){let i=this,[n,r,o,a,l,h,c,d]=this.toParts(e),u=s?.weekdays||this.weekdays,p=s?.shortWeekdays||this.shortWeekdays,f=s?.months||this.months,g=s?.shortMonths||this.shortMonths;At(ot({a:p?p[d]:u[d].substr(0,3),A:u[d],d:kt(o),e:kt(o,2," "),w:d,v:s?.weekFrom??"",b:g[r],B:f[r],m:kt(r+1),o:r+1,y:n.toString().substr(2,2),Y:n,H:kt(a),k:a,I:kt(a%12||12),l:a%12||12,M:kt(l),p:a<12?"AM":"PM",P:a<12?"am":"pm",S:kt(h),L:kt(c,3)},q.dateFormats),(function(s,n){if(yt(t))for(;-1!==t.indexOf("%"+n);)t=t.replace("%"+n,"function"==typeof s?s.call(i,e,i):s)}))}else if(St(t)){let i=(this.getTimezoneOffset(e)||0)/36e5,s=this.timezone||"Etc/GMT"+(i>=0?"+":"")+i,{prefix:n="",suffix:r=""}=t;t=n+this.dateTimeFormat(ot({timeZone:s},t),e)+r}return i?zt(t):t}resolveDTLFormat(t){return St(t,!0)?St(t,!0)&&void 0===t.main?{main:t}:t:{main:(t=It(t))[0],from:t[1],to:t[2]}}getDateFormat(t,e,i,s){let n=this.dateFormat("%m-%d %H:%M:%S.%L",e),r="01-01 00:00:00.000",o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in $t){if(t&&t===$t.week&&+this.dateFormat("%w",e)===i&&n.substr(6)===r.substr(6)){a="week";break}if(t&&$t[a]>t){a=l;break}if(o[a]&&n.substr(o[a])!==r.substr(o[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(s[a]).main}}{getBoundaryTicks(t,e,i,s){let n={};if(e===$t.year)return n;let r=et(i)&&et(s),o=e<$t.hour,a=e<$t.day,l=e<$t.month,h=e>=$t.hour?9e5:e>=$t.minute?6e4:e>=$t.second&&1e3;if(t.length<1e4){let c=!0;for(let d=0;d<t.length;d++){let u=t[d];if(r){if(u<i)continue;if(u>s)break}if(c){if(e===$t.month){n[u]="year",c=!1;continue}if(e===$t.hour){n[u]="day",c=!1;continue}}if(h&&u%h!=0){c=!1;continue}let[,p,f,g,m,v,b]=this.toParts(u),y=!(g||m||v||b);o&&0===m&&(n[u]="hour"),a&&y&&(n[u]="day"),l&&1===f&&y&&(n[u]="month"),0===p&&1===f&&y&&(n[u]="year"),c=!1}}return n}getTimeTicks(t,e,i,s){let n,r=[],{count:o=1,unitRange:a}=t,l=e,[h,c,d,u,p,f]=this.toParts(e),g=(e||0)%1e3;if(s??(s=1),et(e)){if(g=a>=$t.second?0:o*Math.floor(g/o),a>=$t.second&&(f=a>=$t.minute?0:o*Math.floor(f/o)),a>=$t.minute&&(p=a>=$t.hour?0:o*Math.floor(p/o)),a>=$t.hour&&(u=a>=$t.day?0:o*Math.floor(u/o)),a>=$t.day&&(d=a>=$t.month?1:Math.max(1,o*Math.floor(d/o))),a>=$t.month&&(c=a>=$t.year?0:o*Math.floor(c/o)),a>=$t.year&&(h-=h%o),a===$t.week){o&&(e=this.makeTime(h,c,d,u,p,f,g));let t=this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},e,"es"),i="DLMXJVS".indexOf(t);d+=-i+s+(i<s?-7:0)}e=this.makeTime(h,c,d,u,p,f,g),this.variableTimezone&&et(i)&&(n=i-e>4*$t.month||this.getTimezoneOffset(e)!==this.getTimezoneOffset(i));let t=e,l=1;for(;t<i;)r.push(t),a===$t.year?t=this.makeTime(h+l*o,0):a===$t.month?t=this.makeTime(h,c+l*o):!n||a!==$t.day&&a!==$t.week?n&&a===$t.hour&&o>1?t=this.makeTime(h,c,d,u+l*o):t+=a*o:t=this.makeTime(h,c,d+l*o*(a===$t.day?1:7)),l++;r.push(t)}return r.info=ot(t,{boundaryTicks:this.getBoundaryTicks(r,a,l,i),totalRange:a*o}),r}},{isTouchDevice:Ut}=q,Kt={palette:$,colors:Array(10).fill(1).map(((t,e)=>`var(--highcharts-color-${e})`)),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{weekFrom:"week from",chartTitle:"Chart title",locale:void 0,loading:"Loading...",months:void 0,seriesName:"Series {add index 1}
45",shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],pieSliceName:"Slice",resetZoom:"Reset zoom",yAxisTitle:"Values",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"var(--highcharts-neutral-color-3)",padding:8,r:2,stroke:"var(--highcharts-neutral-color-20)","stroke-width":1,style:{color:"var(--highcharts-neutral-color-80)",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"var(--highcharts-neutral-color-10)"},select:{fill:"var(--highcharts-highlight-color-10)",style:{color:"var(--highcharts-neutral-color-100)",fontWeight:"bold"}},disabled:{style:{color:"var(--highcharts-neutral-color-20)"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,selectionMarkerFill:"color-mix(var(--highcharts-highlight-color-80) 25%, transparent)",type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"var(--highcharts-highlight-color-80)",backgroundColor:"var(--highcharts-background-color)",plotBorderColor:"var(--highcharts-neutral-color-20)"},title:{style:{color:"var(--highcharts-neutral-color-80)",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"var(--highcharts-neutral-color-40)",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"var(--highcharts-highlight-color-100)",inactiveColor:"var(--highcharts-neutral-color-20)"},itemStyle:{color:"var(--highcharts-neutral-color-80)",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"var(--highcharts-neutral-color-100)"},itemHiddenStyle:{color:"var(--highcharts-neutral-color-60)",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{color:"var(--highcharts-neutral-color-80)",fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"var(--highcharts-background-color)",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderColor:"light-dark(var(--highcharts-neutral-color-5), var(--highcharts-neutral-color-20))",borderRadius:5,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"%v %[AebY]",month:"%[BY]",year:"%[Y]"},footerFormat:"",header:{distance:5,shape:"callout",style:{fontSize:"1em"}},hideDelay:500,showDelay:0,padding:8,position:{x:0,y:3},shared:!1,snap:Ut?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"var(--highcharts-background-color)",borderWidth:void 0,stickOnContact:!1,style:{color:"var(--highcharts-neutral-color-80)",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",verticalAlign:"bottom",x:-10,y:-5},style:{cursor:"pointer",color:"var(--highcharts-neutral-color-40)",fontSize:"0.6em"},text:"Highcharts.com"}},Zt=new Yt(Kt.time,Kt.lang),Qt={defaultOptions:Kt,defaultTime:Zt,getOptions:function(){return Kt},setOptions:function(t){return lt(q,"setOptions",{options:t}),Et(!0,Kt,t),t.time&&Zt.update(Kt.time),t.lang&&"locale"in t.lang&&Zt.update({locale:t.lang.locale}),t.lang?.chartTitle&&(Kt.title={...Kt.title,text:t.lang.chartTitle}),Kt}},{win:Jt}=q,te=(t,e,i)=>0===i?t:1===i?e:`color-mix(in srgb,${t},${e} ${100*i}%)`,ee=t=>yt(t)&&!!t&&"none"!==t;class ie{static parse(t){return t?new ie(t):ie.None}constructor(t){let e,i,s,n;this.rgba=[NaN,NaN,NaN,NaN],this.input=t;const r=q.Color;if(r&&r!==ie)return new r(t);if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map((t=>
45new ie(t[1])));else if("string"==typeof t)for(this.input=t=ie.names[t.toLowerCase()]||t,s=ie.parsers.length;s--&&!i;)(e=(n=ie.parsers[s]).regex.exec(t))&&(i=n.parse(e));i&&(this.rgba=i)}get(t){let e=this.input,i=this.rgba;if(this.output)return this.output;if("object"==typeof e&&void 0!==this.stops){let i=Et(e);return i.stops=[].slice.call(i.stops),this.stops.forEach(((e,s)=>{i.stops[s]=[i.stops[s][0],e.get(t)]})),i}return i&&bt(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?`${i[3]}`:"rgba("+i.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(bt(t)&&0!==t)if(bt(e[0]))for(let i=0;i<3;i++)e[i]+=Ot(255*t),e[i]<0&&(e[i]=0),e[i]>255&&(e[i]=255);else ie.useColorMix&&ee(this.input)&&(this.output=te(this.input,t>0?"white":"black",Math.abs(t)));return this}setOpacity(t){return bt(this.rgba[0])?this.rgba[3]=t:ie.useColorMix&&ee(this.input)&&(this.output=te(this.input,"#0000",1-t)),this}tweenTo(t,e){let i=this.rgba,s=t.rgba;if(!bt(i[0])||!bt(s[0]))return ie.useColorMix&&ee(this.input)&&ee(t.input)&&e<.99?te(this.input,t.input,e):t.input||"none";let n=1!==s[3]||1!==i[3],r=(t,s)=>t+(i[s]-t)*(1-e),o=s.slice(0,3).map(r).map(Math.round);return n&&o.push(r(s[3],3)),(n?"rgba(":"rgb(")+o.join(",")+")"}}ie.names={white:"#ffffff",black:"#000000"},ie.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[Ot(t[1]),Ot(t[2]),Ot(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[Ot(t[1]),Ot(t[2]),Ot(t[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(t){return[Ot(t[1]+t[1],16),Ot(t[2]+t[2],16),Ot(t[3]+t[3],16),et(t[4])?Ot(t[4]+t[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(t){return[Ot(t[1],16),Ot(t[2],16),Ot(t[3],16),et(t[4])?Ot(t[4],16)/255:1]}}],ie.useColorMix=Jt.CSS?.supports("color","color-mix(in srgb,red,blue 9%)"),ie.None=new ie("");let{parse:se}=ie,{win:ne}=q;class re{constructor(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}dSetter(){let t=this.paths,e=t?.[0],i=t?.[1],s=this.now||0,n=[];if(1!==s&&e&&i)if(e.length===i.length&&s<1)for(let t=0;t<i.length;t++){let r=e[t],o=i[t],a=[];for(let t=0;t<o.length;t++){let e=r[t],i=o[t];bt(e)&&bt(i)&&("A"!==o[0]||4!==t&&5!==t)?a[t]=e+s*(i-e):a[t]=i}n.push(a)}else n=i;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)}update(){let t=this.elem,e=this.prop,i=this.now,s=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,s&&s.call(t,i,this)}run(t,e,i){let s=this,n=s.options,r=function(t){return!r.stopped&&s.step(t)},o=ne.requestAnimationFrame||function(t){setTimeout(t,13)},a=function(){for(let t=0;t<re.timers.length;t++)re.timers[t]()||re.timers.splice(t--,1);re.timers.length&&o(a)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=i,this.now=this.start,this.pos=0,r.elem=this.elem,r.prop=this.prop,r()&&1===re.timers.push(r)&&o(a)):(delete n.curAnim[this.prop],n.complete&&0===Object.keys(n.curAnim).length&&n.complete.call(this.elem))}step(t){let e,i,s=+new Date,n=this.options,r=this.elem,o=n.complete,a=n.duration,l=n.curAnim;return r.attr&&!r.element?e=!1:t||s>=a+this.startTime?(this.now=this.end,this.pos=1,this.update(),l[this.prop]=!0,i=!0,At(l,(function(t){!0!==t&&(i=!1)})),i&&o&&o.call(r),e=!1):(this.pos=n.easing((s-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,i){let s,n,r,o,a=t.startX,l=t.endX,h=i.slice(),c=t.isArea,d=c?2:1,u=e&&i.length>e.length&&i.hasStackedCliffs,p=e?.slice();if(!p||u)return[h,h];function f(t,e){for(;t.length<n;){let i=t[0],s=e[n-t.length];if(s&&"M"===i[0]&&("C"===s[0]?t[0]=["C",i[1],i[2],i[1],i[2],i[1],i[2]]:t[0]=["L",i[1],i[2]]),t.unshift(i),c){let e=t.pop();t.push(t[t.length-1],e)}}}function g(t){for(;t.length<n;){let e=t[Math.floor(t.length/d)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),c){let i=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}}if(a&&l&&l.length){for(r=0;r<a.length;r++){if(a[r]===l[0]){s=r;break}if(a[0]===l[l.length-a.length+r]){s=r,o=!0;break}if(a[a.length-1]===l[l.length-a.length+r]){s=a.length-r;break}}void 0===s&&(p=[])}return p.length&&bt(s)&&(n=h.length+s*d,o?(f(p,h),g(h)):(f(h,p),g(p))),[p,h]}fillSetter(){re.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,se(this.start).tweenTo(se(this.end),this.pos),void 0,!0)}}function oe(t){return St(t)?Et({duration:500,defer:0},t):{duration:500*!!t,defer:0}}function ae(t,e){let i=re.timers.length;for(;i--;)re.timers[i].elem!==t||e&&e!==re.timers[i].prop||(re.timers[i].stopped=!0)}re.timers=[];
45let le={animate:function(t,e,i){let s,n,r,o,a="";St(i)||(o=arguments,i={duration:o[2],easing:o[3],complete:o[4]}),bt(i.duration)||(i.duration=400),i.easing="function"==typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=Et(e),At(e,(function(o,l){ae(t,l),r=new re(t,i,l),n=void 0,"d"===l&&xt(e.d)?(r.paths=r.initPath(t,t.pathArray,e.d),r.toD=e.d,s=0,n=1):t.attr?s=t.attr(l):(s=parseFloat(pt(t,l))||0,"opacity"!==l&&(a="px")),n||(n=o),"string"==typeof n&&n.match("px")&&(n=n.replace(/px/g,"")),r.run(s,n,a)}))},animObject:oe,getDeferredAnimation:function(t,e,i){let s=oe(e),n=i?[i]:t.series,r=0,o=0;return n.forEach((t=>{let i=oe(t.options.animation);r=St(e)&&et(e.defer)?s.defer:Math.max(r,i.duration+i.defer),o=Math.min(s.duration,i.duration)})),t.renderer.forExport&&(r=0),{defer:Math.max(0,r-o),duration:Math.min(r,o)}},setAnimation:function(t,e){e.renderer.globalAnimation=Mt(t,e.options.chart.animation,!0)},stop:ae},{SVG_NS:he,win:ce}=q,{trustedTypes:de}=ce,ue=de&&wt(de.createPolicy)&&de.createPolicy("highcharts",{createHTML:t=>t}),pe=ue?ue.createHTML(""):"";class fe{static filterUserAttributes(t){return At(t,((e,i)=>{let s=!0;-1===fe.allowedAttributes.indexOf(i)&&(s=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(s=yt(e)&&fe.allowedReferences.some((t=>0===e.indexOf(t)))),s||(Wt(33,!1,void 0,{"Invalid attribute in config":`${i}`}),delete t[i]),yt(e)&&t[i]&&(t[i]=e.replace(/</g,"&lt;"))})),t}static parseStyle(t){return t.split(";").reduce(((t,e)=>{let i=e.split(":").map((t=>t.trim())),s=i.shift();return s&&i.length&&(t[s.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]=i.join(":")),t}),{})}static setElementHTML(t,e){t.innerHTML=fe.emptyHTML,e&&new fe(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(t){return function t(e,i){let s;return It(e).forEach((function(e){let n,r=e.tagName,o=e.textContent?q.doc.createTextNode(e.textContent):void 0,a=fe.bypassHTMLFiltering;if(r)if("#text"===r)n=o;else if(-1!==fe.allowedTags.indexOf(r)||a){let s="svg"===r?he:i.namespaceURI||he,l=q.doc.createElementNS(s,r),h=e.attributes||{};At(e,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(h[e]=t)})),U(l,a?h:fe.filterUserAttributes(h)),e.style&&tt(l,e.style),o&&l.appendChild(o),t(e.children||[],l),n=l}else Wt(33,!1,void 0,{"Invalid tagName in config":r});n&&i.appendChild(n),s=n})),s}(this.nodes,t)}parseMarkup(t){let e,i=[];t=t.trim().replace(/ style=(["'])/g," data-style=$1");try{e=(new DOMParser).parseFromString(ue?ue.createHTML(t):t,"text/html")}catch{}if(!e){let i=Q("div");i.innerHTML=t,e={body:i}}let s=(t,e)=>{let i=t.nodeName.toLowerCase(),n={tagName:i};"#text"===i&&(n.textContent=t.textContent||"");let r=t.attributes;if(r){let t={};[].forEach.call(r,(e=>{"data-style"===e.name?n.style=fe.parseStyle(e.value):t[e.name]=e.value})),n.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,(t=>{s(t,e)})),e.length&&(n.children=e)}e.push(n)};return[].forEach.call(e.body.childNodes,(t=>s(t,i))),i}}fe.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","aria-sort","class","clip-path","color","colspan","cx","cy","d","disabled","dx","dy","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","result","role","rowspan","scope","slope","src","startOffset","stdDeviation","stroke-linecap","stroke-width","stroke","style","summary","tabindex","tableValues","target","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],fe.allowedReferences=["https://","http://","mailto:","/","../","./","#"],fe.allowedTags=["#text","a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","tbody","td","text","textPath","th","thead","title","tr","tspan","u","ul"],fe.emptyHTML=
vendor: 4,098 bytes, line 45
45pe,fe.bypassHTMLFiltering=!1;let{defaultOptions:ge,defaultTime:me}=Qt,{pageLang:ve}=q,be={add:(t,e)=>t+e,divide:(t,e)=>0!==e?Z(t/e):"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!xt(t)&&t.map(((i,s)=>xe(e.body,ot(St(i)?i:{"@this":i},{"@index":s,"@first":0===s,"@last":s===t.length-1})))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>Z(t*e,15),ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,ucfirst:zt,unless:t=>!t},ye={};function xe(t="",e,i){let s,n,r,o=/\{([^{}]+)\}/g,a=/\(([^()]+)\)/g,l=[],h=/f$/,c=/\.(\d)/,d=i?.options?.lang||ge.lang,u=i?.time||me,p=i?.numberFormatter||we.bind(i),f=(t="")=>{let i;return"true"===t||"false"!==t&&((i=Number(t)).toString()===t?i:/^["'].+["']$/.test(t)?t.slice(1,-1):ut(t,e))},g=0;for(;null!==(s=o.exec(t));){let i=s,o=a.exec(s[1]);o&&(s=o,r=!0),n?.isBlock||(n={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let h=(n.isBlock?i:s)[1].split(" ")[0].replace("#","");be[h]&&(n.isBlock&&h===n.fn&&g++,n.fn||(n.fn=h));let c="else"===s[1];if(n.isBlock&&n.fn&&(s[1]===`/${n.fn}`||c))if(g)!c&&g--;else{let e=n.startInner,i=t.substr(e,s.index-e);void 0===n.body?(n.body=i,n.startInner=s.index+s[0].length):n.elseBody=i,n.find+=i+s[0],c||(l.push(n),n=void 0)}else n.isBlock||l.push(n);if(o&&!n?.isBlock)break}return l.forEach((s=>{let n,r,{body:o,elseBody:l,expression:g,fn:m}=s;if(m){let t,a=[s],h=[],c=g.length,d=0;for(r=0;r<=c;r++){let e=g.charAt(r);t||'"'!==e&&"'"!==e?t===e&&(t=""):t=e,t||" "!==e&&r!==c||(h.push(g.substr(d,r-d)),d=r+1)}for(r=be[m].length;r--;)a.unshift(f(h[r+1]));n=be[m].apply(e,a),s.isBlock&&"boolean"==typeof n&&(n=xe(n?o:l,e,i))}else{let t=/^["'].+["']$/.test(g)?[g]:g.split(":");if(n=f(t.shift()||""),t.length&&"number"==typeof n){let e=t.join(":");if(h.test(e)){let t=parseInt((e.match(c)||["","-1"])[1],10);null!==n&&(n=p(n,t,d.decimalPoint,e.indexOf(",")>-1?d.thousandsSep:""))}else n=u.dateFormat(e,n)}a.lastIndex=0,a.test(s.find)&&yt(n)&&(n=`"${n}"`)}t=t.replace(s.find,Mt(n,""))})),r?xe(t,e,i):t}function we(t,e,i,s){e*=1;let n,r,[o,a]=(t=+t||0).toString().split("e").map(Number),l=this?.options?.lang||ge.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,c=e,d={};i??(i=l.decimalPoint),s??(s=l.thousandsSep),-1===e?e=Math.min(h,20):bt(e)?e&&a<0&&((r=e+a)>=0?(o=+o.toExponential(r).split("e")[0],e=r):(o=Math.floor(o),t=e<20?+(o*Math.pow(10,a)).toFixed(e):0,a=0)):e=2,a&&(e??(e=2),t=o),bt(e)&&e>=0&&(d.minimumFractionDigits=e,d.maximumFractionDigits=e),""===s&&(d.useGrouping=!1);let u=s||i,p=u?"en":this?.locale||l.locale||ve,f=JSON.stringify(d)+p;return n=(ye[f]??(ye[f]=new Intl.NumberFormat(p,d))).format(t),u&&(n=n.replace(/([,\.])/g,"_$1").replace(/_\,/g,s??",").replace("_.",i??".")),(e||0!=+n)&&(!(a<0)||c)||(n="0"),a&&0!=+n&&(n+="e"+(a<0?"":"+")+a),n}let Se={dateFormat:function(t,e,i){return me.dateFormat(t,e,i)},format:xe,helpers:be,numberFormat:we};(b||(b={})).distribute=function t(e,i,s){let n,r,o,a=e,l=a.reducedLen||i,h=(t,e)=>t.target-e.target,c=[],d=e.length,u=[],p=c.push,f=!0,g=0;for(n=d;n--;)g+=e[n].size;if(g>l){if(Bt(e,((t,e)=>(e.rank||0)-(t.rank||0))),e[0].rank===e[e.length-1].rank){let t=[[0,d-1]];for(;t.length&&g>l;){let i=t.shift();if(!i)break;r=e[n=Math.floor((i[0]+i[1])/2)],Lt(u,n)&&(g-=r.size),i[0]<n&&t.push([i[0],n-1]),n<i[1]&&t.push([n+1,i[1]])}}else for(n=d-1;g>l&&n>=0;)r=e[n],Lt(u,n)&&(g-=r.size),n--;u.sort(((t,e)=>e-t)).forEach((t=>p.apply(c,e.splice(t,1))))}for(Bt(e,h),e=e.map((t=>({size:t.size,targets:[t.target],align:Mt(t.align,.5)})));f;){for(n=e.length;n--;)r=e[n],o=(Math.min.apply(0,r.targets)+Math.max.apply(0,r.targets))/2,r.pos=K(o-r.size*r.align,0,i-r.size);for(n=e.length,f=!1;n--;)n>0&&e[n-1].pos+e[n-1].size>e[n].pos&&(e[n-1].size+=e[n].size,e[n-1].targets=e[n-1].targets.concat(e[n].targets),e[n-1].align=.5,e[n-1].pos+e[n-1].size>i&&(e[n-1].pos=i-e[n-1].size),e.splice(n,1),f=!0)}return p.apply(a,c),n=0,e.some((e=>{let r=0;return(e.targets||[]).some((()=>(a[n].pos=e.pos+r,void 0!==s&&Math.abs(a[n].pos-a[n].target)>
45s?(a.slice(0,n+1).forEach((t=>delete t.pos)),a.reducedLen=(a.reducedLen||i)-.1*i,a.reducedLen>.1*i&&t(a,i,s),!0):(r+=a[n].size,n++,!1))))})),Bt(a,h),a};let Ee=b,{animate:Ce,animObject:Ae,stop:Te}=le,{deg2rad:ke,doc:Me,svg:Oe,SVG_NS:Le,win:_e,isFirefox:Pe}=q;class De{_defaultGetter(t){let e=Mt(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,i){i.setAttribute(e,t)}add(t){let e,i=this.renderer,s=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:i.box).appendChild(s),this.onAdd&&this.onAdd(),this}addClass(t,e){let i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "))!==i&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,i,s=!0){let n=this.renderer,r=n.alignedObjects,o=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=i):(t=this.alignOptions||{},e=this.alignByTranslate,i=this.alignTo);let a=!i||yt(i)?i||"renderer":void 0;a&&(o&&Lt(r,this),i=void 0);let l=Mt(i,n[a],n),h=(l.x||0)+(t.x||0)+((l.width||0)-(t.width||0))*ht(t.align),c=(l.y||0)+(t.y||0)+((l.height||0)-(t.height||0))*ht(t.verticalAlign),d={};return t.align&&(d["text-align"]=t.align),d[e?"translateX":"x"]=Math.round(h),d[e?"translateY":"y"]=Math.round(c),s&&(this[this.placed?"animate":"attr"](d),this.placed=!0),this.alignAttr=d,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,i){let s=Ae(Mt(e,this.renderer.globalAnimation,!0)),n=s.defer;return Me.hidden&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),Nt((()=>{this.element&&Ce(this,t,s)}),n)):(this.attr(t,void 0,i||s.complete),At(t,(function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let i=t.indexOf(" "),s=t.substring(i+1),n=t.substring(0,i);if(n&&"none"!==n&&q.svg){this.fakeTS=!0,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();let t=Me.createElementNS(Le,"tspan");U(t,{class:"highcharts-text-outline",fill:s,stroke:s,"stroke-width":n,"stroke-linejoin":"round"});let i=e.querySelector("textPath")||e;[].forEach.call(i.childNodes,(e=>{let i=e.cloneNode(!0);i.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t=>i.removeAttribute(t))),t.appendChild(i)}));let r=0;[].forEach.call(i.querySelectorAll("text tspan"),(t=>{r+=Number(t.getAttribute("dy"))}));let o=Me.createElementNS(Le,"tspan");o.textContent="​",U(o,{x:Number(e.getAttribute("x")),dy:-r}),t.appendChild(o),i.insertBefore(t,i.firstChild)}}attr(t,e,i,s){let n,r,o,{element:a}=this,l=De.symbolCustomAttribs,h=this;return"string"==typeof t&&void 0!==e&&(n=t,(t={})[n]=e),"string"==typeof t?h=(this[t+"Getter"]||this._defaultGetter).call(this,t,a):(At(t,(function(e,i){o=!1,s||Te(this,i),this.symbolName&&-1!==l.indexOf(i)&&(r||(this.symbolAttr(t),r=!0),o=!0),this.rotation&&("x"===i||"y"===i)&&(this.doTransform=!0),o||(this[i+"Setter"]||this._defaultSetter).call(this,e,i,a)}),this),this.afterSetters()),i&&i.call(this),h}clip(t){if(t&&!t.clipPath){let e=jt()+"-",i=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);ot(t,{clipPath:i,id:e,count:0}),t.add(i)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let i=t.x||this.x||0,s=t.y||this.y||0,n=(t.width||this.width||0)+i,r=(t.height||this.height||0)+s,o=J(i,e),a=J(s,e);return ot(t,{x:o,y:a,width:J(n,e)-o,height:J(r,e)-a}),et(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,e,i){let s,n,r,o,a,l,h,c,d,u,p=this.renderer,f=[];lt(this.renderer,"complexColor",{args:arguments},(()=>{if(t.radialGradient?n="radialGradient":t.linearGradient&&(n="linearGradient"),n){if(r=t[n],a=p.gradients,l=t.stops,c=i.radialReference,xt(r)&&(t[n]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n&&c&&!et(r.gradientUnits)&&(o=r,r=Et(r,p.getRadialAttr(c,o),{gradientUnits:"userSpaceOnUse"})),At(r,(function(t,e){"id"!==e&&f.push(e,t)})),At(l,(function(t){f.push(t)})),a[f=f.join(",")])d=a[f].attr("id");else{r.id=d=jt();let t=a[f]=p.createElement(n).attr(r).add(p.defs);t.radAttr=o,t.stops=[],l.forEach((([e,i])=>{0===i.indexOf("rgba")?(i=(s=ie.parse(i)).get("rgb"),h=s.get("a")):h=1;let n=p.createElement("stop").attr({offset:e,"stop-color":i,"stop-opacity":h}).add(t);t.stops.push(n)}))}u="url("+p.url+"#"+d+")",i.setAttribute(e,u),i.gradient=f,t.toString=function(){return u}}}))}css(t){let e,i=this.styles,s={},n=this.element,r=this.renderer,o=!i;if(i&&At(t,(function(t,e){i&&i[e]!==t&&(s[e]=t,o=!0)})),o){i&&(t=ot(i,s)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===n.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=Ot(t.width)),ot(this.styles,t),e&&!Oe&&r.forExport&&delete t.width;let o=Pe&&t.fontSize||null;o&&(bt(o)||/^\d+$/.test(o))&&(t.fontSize+="px");let a=Et(t);n.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach((t=>a&&delete a[t])),a.color&&(a.fill=a.color,delete a.color)),tt(n,a)}return this.added&&("text"===this.element.nodeName&&r.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,i=this["stroke-width"];if("inherit"===i&&(i=1),t){let s=(t=t.toLowerCase()).replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=s.length;e--;)s[e]=""+Ot(s[e])*Mt(i,NaN);t=s.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){let t=this,{element:e={},renderer:i,stops:s}=t,n=e.ownerSVGElement;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,Te(t),t.clipPath&&n){let e=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){t.getAttribute("clip-path").indexOf(e.element.i
vendor: 4,235 bytes, line 45
45d)>-1&&t.removeAttribute("clip-path")})),t.clipPath=e.destroy()}if(s){for(let t of s)t.destroy();s.length=0}t.safeRemoveChild(e),t.alignOptions&&rt(i.alignedObjects,t),At(t,((e,i)=>{(t[i]?.parentGroup===t||-1!==["connector","foreignObject"].indexOf(i))&&t[i]?.destroy?.(),delete t[i]}))}dSetter(t,e,i){xt(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(((t,e,i)=>e?.join?(i?t+" ":"")+e.join(" "):(e||"").toString()),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)}fillSetter(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)}hrefSetter(t,e,i){i.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let i,s,n,{element:r,renderer:o,styles:a,textStr:l}=this,{cache:h,cacheKeys:c}=o,d=r.namespaceURI===this.SVG_NS,u=Mt(e,this.rotation,0),p=o.styledMode?r&&De.prototype.getStyle.call(r,"font-size"):a.fontSize,f=this.getBBoxCacheKey([o.rootFontSize,this.textWidth,this.alignValue,a.fontWeight,a.lineClamp,a.textOverflow,p,u]);if(f&&!t&&(i=h[f]),!i||i.polygon){if(d||o.forExport){try{n=this.fakeTS&&function(t){let e=r.querySelector(".highcharts-text-outline");e&&tt(e,{display:t})},wt(n)&&n("none"),i=r.getBBox?ot({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight,x:0,y:0},wt(n)&&n("")}catch{}(!i||i.width<0)&&(i={x:0,y:0,width:0,height:0})}else i=this.htmlGetBBox();s=i.height,d&&(i.height=s={"11px,17":14,"13px,20":16}[`${p||""},${Math.round(s)}`]||s),u&&(i=this.getRotatedBox(i,u));let t={bBox:i};lt(this,"afterGetBBox",t),i=t.bBox}if(f&&(""===l||i.height>0)){for(;c.length>250;)delete h[c.shift()];h[f]||c.push(f),h[f]=i}return i}getBBoxCacheKey(t){if(et(this.textStr)){let e=""+this.textStr;return-1===e.indexOf("<")&&(e=e.replace(/\d/g,"0")),[e,...t].join(",")}}getRotatedBox(t,e){let{x:i,y:s,width:n,height:r}=t,{alignValue:o,translateY:a,rotationOriginX:l=0,rotationOriginY:h=0}=this,c=ht(o),d=Number(this.element.getAttribute("y")||0)-(a?0:s),u=e*ke,p=(e-90)*ke,f=Math.cos(u),g=Math.sin(u),m=n*f,v=n*g,b=Math.cos(p),y=Math.sin(p),[[x,w],[S,E]]=[l,h].map((t=>[t-t*f,t*g])),C=i+c*(n-m)+x+E+d*b,A=C+m,T=A-r*b,k=T-m,M=s+d-c*v-w+S+d*y,O=M+v,L=O-r*y,_=L-v,P=Math.min(C,A,T,k),D=Math.min(M,O,L,_);return{x:P,y:D,width:Math.max(C,A,T,k)-P,height:Math.max(M,O,L,_)-D,polygon:[[C,M],[A,O],[T,L],[k,_]]}}getStyle(t){return _e.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=Le,this.element="div"===e||"body"===e?Q(e):Me.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},lt(this,"afterInit")}on(t,e){let{onEvents:i}=this;return i[t]&&i[t](),i[t]=V(this.element,t,e),this}opacitySetter(t,e,i){let s=Number(Number(t).toFixed(3));this.opacity=s,i.setAttribute(e,s)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(yt(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient]||void 0;return this.element.radialReference=t,e?.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){let{renderer:e}=this,i=Et(90===this.parentGroup?.rotation?{offsetX:-1,offsetY:-1}:{},St(t)?t:{}),s=e.shadowDefinition(i);return this.attr({filter:t?`url(${e.url}#${s})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,i){this[e]=t,i.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),i=0;return/px$/.test(e)?i=Ot(e):""!==e&&(U(t=Me.createElementNS(Le,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),i=t.getBBox().width,t.parentNode.removeChild(t)),i}symbolAttr(t){let e=this;
vendor: 5,102 bytes, line 45
45De.symbolCustomAttribs.forEach((function(i){e[i]=Mt(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,i=e.getElementsByTagName("title")[0]||Me.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=Pt(Mt(t,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){let{element:e,foreignObject:i,matrix:s,rotation:n=0,rotationOriginX:r,rotationOriginY:o,scaleX:a,scaleY:l,text:h,translateX:c=0,translateY:d=0}=this,u=[`translate(${c},${d})`];et(s)&&u.push("matrix("+s.join(",")+")"),n&&u.push("rotate("+n+" "+(r??e.getAttribute("x")??this.x??0)+" "+(o??e.getAttribute("y")??this.y??0)+")"),(et(a)||et(l))&&u.push(`scale(${a??1} ${l??1})`),u.length&&!(h||this).textPath&&(i?.element||e).setAttribute(t,u.join(" "))}visibilitySetter(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let i,s,n,r,o,{element:a,parentGroup:l,renderer:h}=this,c=l?.element||h.box,d=c===h.box,u=!1,p=this.added;if(et(t)?(a.setAttribute("data-z-index",t),t*=1,this[e]===t&&(p=!1)):et(this[e])&&a.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&l&&(l.handleZ=!0),o=(i=c.childNodes).length-1;o>=0&&!u;o--)r=!et(n=(s=i[o]).getAttribute("data-z-index")),s!==a&&(et(t)&&t<0&&r&&!d&&!o?(c.insertBefore(a,i[o]),u=!0):(et(t)&&parseFloat(n||"")<=t||r&&(!et(t)||t>=0))&&(c.insertBefore(a,i[o+1]),u=!0));u||(c.insertBefore(a,i[3*!!d]),u=!0)}return u}}De.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],De.prototype.strokeSetter=De.prototype.fillSetter,De.prototype.yGetter=De.prototype.xGetter,De.prototype.matrixSetter=De.prototype.rotationOriginXSetter=De.prototype.rotationOriginYSetter=De.prototype.rotationSetter=De.prototype.scaleXSetter=De.prototype.scaleYSetter=De.prototype.translateXSetter=De.prototype.translateYSetter=De.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0};let Ie=De,{charts:Be}=q,Ne=["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],ze=[null,"#00e272","#efdf00"];class Re{constructor(t,e){this.defaultOptions=$,this.options=Et($),this.cssVars={light:{},dark:{}},this.renderer=t,this.update(e)}injectCSS(t){let e,i,s,{cssVars:n,renderer:r}=this,o=Object.keys(nt(t,this.defaultOptions)).length>0,a=Math.max(t.colors?.length||0,Ne.length),l="light",h=(t,e)=>{yt(t)&&(e=e.replace(/([0-9]+)/g,"-$1").replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`)),n[l][`--highcharts-${e}`]=t)};for(let e of["light","dark"]){let i=t[e]||{},s={},r=new ie(i?.neutralColor||""),o=new ie(i?.backgroundColor||""),c=new ie(i?.highlightColor||"");l=e,[3,5,10,20,40,60,80,100].forEach((t=>{s[`neutralColor${t}`]=o.tweenTo(r,t/100),s[`highlightColor${t}`]=o.tweenTo(c,t/100)}));for(let s=0;s<a;s++)h(i?.colors?.[s]||t.colors?.[s]||("dark"===e?ze:[])?.[s]||Ne[s]||"#888a",`color${s}`);At(i,h),At(s,h),"light"===e&&ot(n.dark,n.light)}let c=r.defs.element,d=o?`*[data-highcharts-chart="${r.chartIndex}"]`:"",u=c.querySelector("style.highcharts-palette")||r.box.ownerDocument.createElement("style");u.parentNode||(u.nonce="highcharts",u.className="highcharts-palette",c.appendChild(u)),i=(e=t=>{let e="";return At(n.light,((i,s)=>{e+=t&&i!==n.dark[s]?`  ${s}: light-dark(${i}, ${n.dark[s]});\n`:`  ${s}: ${i};\n`})),e})(),s=e(!0),u.textContent=`${d||":root"} {\n${i}\n}\n@supports (color: light-dark(#fff, #000)) {\n  ${d||":root"} {\n${s}\n  }\n}\n.highcharts-container {\n  color-scheme: light dark;\n}\n.highcharts-light .highcharts-container {\n  color-scheme: light;\n}\n.highcharts-dark .highcharts-container {\n  color-scheme: dark;\n}`}update(t){let e=this.renderer.box.parentElement,i=Be?.[this.renderer.chartIndex];t=Et(!0,this.options,t),i&&(i.options.palette=t),!1!==t.injectCSS&&this.injectCSS(t),e&&(yt(t.colorScheme)&&["light","dark","inherit"].includes(t.colorScheme)?e.style.colorScheme=t.colorScheme:e.style.removeProperty("color-scheme"))}}class Fe extends Ie{constructor(t,e,i,s,n,r,o,a,l,h){let c;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=i,this.y=s,this.anchorX=r,this.anchorY=o,this.baseline=l,this.className=h,this.addClass("button"===h?"highcharts-no-tooltip":"highcharts-label"),h&&this.addClass("highcharts-"+h),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof n&&((c=/^url\((.*?)\)$/.test(n))||this.renderer.symbols[n])&&(this.symbolKey=n),this.bBox=Fe.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||c,this.deferredAttr={},this.alignFactor=0}
vendor: 1,597 bytes, line 45
45alignSetter(t){let e=ht(t);this.textAlign=t,e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&bt(this.xSetting)&&this.attr({x:this.xSetting}),this.updateTextPadding())}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(t){if(t){let e={};t=Et(t),Fe.textProps.forEach((i=>{void 0!==t[i]&&(e[i]=t[i],delete t[i])})),this.text.css(e),"fontSize"in e||"fontWeight"in e||"width"in e?this.updateTextPadding():"textOverflow"in e&&this.updateBoxSize(),"color"in e&&this.updateBackground()}return Ie.prototype.css.call(this,t)}destroy(){Dt(this.element,"mouseenter"),Dt(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),Ie.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){(this.textStr&&0===this.bBox.width&&0===this.bBox.height||this.rotation)&&this.updateBoxSize();let{padding:i,height:s=0,translateX:n=0,translateY:r=0,width:o=0}=this,a=Mt(this.paddingLeft,i),l=e??(this.rotation||0),h={width:o,height:s,x:n+this.bBox.x-a,y:r+this.bBox.y-i+this.baselineOffset};return l&&(h=this.getRotatedBox(h,l)),h}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1),this.updateBackgroun
vendor: 4,122 bytes, line 45
45d()}onAdd(){this.text.add(this),this.attr({text:Mt(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&et(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){bt(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=this["text-align"]=t,this.updateTextPadding()}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBackground(){"contrast"===this.fill&&this.box?.attr({fill:this.renderer.getContrast(this.text.styles.color||"#000"),"fill-opacity":.65})}updateBoxSize(){let t,e=this.text,i={},s=this.padding,n=this.bBox=bt(this.widthSetting)&&bt(this.heightSetting)&&!this.textAlign||!et(e.textStr)?Fe.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||n.height||0)+2*s;let r=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||r).b,n.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-r.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}i.x=t=this.getCrispAdjust(),i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(ot(i,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text,e=t.styles.textAlign||this.textAlign;if(!t.textPath){this.updateBoxSize();let i=this.baseline?0:this.baselineOffset,s=(this.paddingLeft??this.padding)+ht(e)*(this.widthSetting??this.bBox.width);(s!==t.x||i!==t.y)&&(t.attr({align:e,x:s}),void 0!==i&&t.attr("y",i)),t.x=s,t.y=i}}widthSetter(t){this.widthSetting=bt(t)?t:void 0,this.doUpdate=!0}getPaddedWidth(){let t=this.padding,e=Mt(this.paddingLeft,t),i=Mt(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+i}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.anchorX&&(this["forceAnimate:anchorX"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.anchorY&&(this["forceAnimate:anchorY"]=!0),this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}function He(t,e,i,s,n){let r=[];if(n){let o=n.start||0,a=n.end||0,l=Mt(n.r,i),h=Mt(n.r,s||i),c=1e-4>Math.abs(a-o-2*Math.PI);c&&(o=Math.PI/2,a=2.5*Math.PI-1e-4);let d=n.innerR,u=Mt(n.open,c),p=c?0:Math.cos(o),f=c?1:Math.sin(o),g=c?0:Math.cos(a),m=c?1:Math.sin(a),v=Mt(n.longArc,a-o-Math.PI<1e-4?0:1),b=["A",l,h,0,v,Mt(n.clockwise,1),t+(c?.001:l*g),e+h*m];b.params={start:o,end:a,cx:t,cy:e},r.push(["M",t+l*p,e+h*f],b),et(d)&&((b=["A",d,d,0,v,et(n.clockwise)?1-n.clockwise:0,t+(c?-.001:d*p),e+d*f]).params={start:a,end:o,cx:t,cy:e},r.push(u?["M",t+d*g,e+d*m]:["L",t+d*g,e+d*m],b)),u||r.push(["Z"])}return r}function We(t,e,i,s,n){return n?.r?qe(t,e,i,s,n):[["M",t,e],["L",t+i,e],["L",t+i,e+s],["L",t,e+s],["Z"]]}function qe(t,e,i,s,n){let r=n?.r||0;return[["M",t+r,e],["L",t+i-r,e],["A",r,r,0,0,1,t+i,e+r],["L",t+i,e+s-r],["A",r,r,0,0,1,t+i-r,e+s],["L",t+r,e+s],["A",r,r,0,0,1,t,e+s-r],["L",t,e+r],["A",r,r,0,0,1,t+r,e],["Z"]]}Fe.emptyBBox={width:0,height:0,x:0,y:0},Fe.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineClamp","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"];let $e={arc:He,callout:function(t,e,i,s,n){let r=Math.min(n?.r||0,i,s),o=r+6,a=n?.anchorX,l=n?.anchorY||0,h=qe(t,e,i,s,{r});if(!bt(a)||a<i&&a>0&&l<s&&l>0)return h;if(t+a>i-o)if(l>e+o&&l<e+s-o)h.splice(3,1,["L",t+i,l-6],["L",t+i+6,l],["L",t+i,l+6],["L",t+i,e+s-r]);else if(a<i){let n=l<e+o,c=n?e:e+s;h.splice(n?2:5,0,["L",a,l],["L",t+i-r,c])}else h.splice(3,1,["L",t+i,s/2],["L",a,l],["L",t+i,s/2],["L",t+i,e+s-r]);else if(t+a<o)if(l>
vendor: 13,857 bytes, line 45
45e+o&&l<e+s-o)h.splice(7,1,["L",t,l+6],["L",t-6,l],["L",t,l-6],["L",t,e+r]);else if(a>0){let i=l<e+o,n=i?e:e+s;h.splice(i?1:6,0,["L",a,l],["L",t+r,n])}else h.splice(7,1,["L",t,s/2],["L",a,l],["L",t,s/2],["L",t,e+r]);else l>s&&a<i-o?h.splice(5,1,["L",a+6,e+s],["L",a,e+s+6],["L",a-6,e+s],["L",t+r,e+s]):l<0&&a>o&&h.splice(1,1,["L",a-6,e],["L",a,e-6],["L",a+6,e],["L",i-r,e]);return h},circle:function(t,e,i,s){return He(t+i/2,e+s/2,i/2,s/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,s){return[["M",t+i/2,e],["L",t+i,e+s/2],["L",t+i/2,e+s],["L",t,e+s/2],["Z"]]},rect:We,roundedRect:qe,square:We,triangle:function(t,e,i,s){return[["M",t+i/2,e],["L",t+i,e+s],["L",t,e+s],["Z"]]},"triangle-down":function(t,e,i,s){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+s],["Z"]]}},{doc:je,SVG_NS:Ge,win:Ve}=q,Xe=(t,e)=>t.substring(0,e)+"…",{defaultOptions:Ye}=Qt,{charts:Ue,deg2rad:Ke,doc:Ze,isFirefox:Qe,isMS:Je,isWebKit:ti,noop:ei,SVG_NS:ii,symbolSizes:si,win:ni}=q;class ri{constructor(t,e,i,s,n,r,o,a,l){let h,c;this.x=0,this.y=0;const d=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=d.element;t.appendChild(u),U(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&U(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=d,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(Ze.createTextNode("Created with Highcharts 13.0.0")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=n,this.styledMode=o,this.chartIndex=l||0,this.gradients={},this.cache={},this.cacheKeys=[],this.asyncCounter=0,this.rootFontSize=d.getStyle("font-size"),this.setSize(e,i,!1),o||(d.css(this.getStyle(s||{})),this.palette=new Re(this,a||Ye.palette)),Qe&&t.getBoundingClientRect&&((h=function(){tt(t,{left:0,top:0}),c=t.getBoundingClientRect(),tt(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})})(),this.unSubPixelFix=V(ni,"resize",h))}definition(t){return new fe([t]).addToDOM(this.defs.element)}getReferenceURL(){if((Qe||ti)&&Ze.getElementsByTagName("base").length){if(!et(e)){let t=jt(),i=new fe([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${t})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(Ze.body);tt(i,{position:"fixed",top:0,left:0,zIndex:9e5});let s=Ze.elementFromPoint(6,6);e="hitme"===s?.id,Ze.body.removeChild(i)}if(e)return Pt(ni.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=ot({fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),it(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects.length=0,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map((e=>`${e}-${t[e]}`))].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),i=Et({color:"#000000",offsetX:0,offsetY:2,opacity:.05,width:6},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:i.filterUnits},children:this.getShadowFilterContent(i)}),e}getShadowFilterContent(t){return[{tagName:"feDropShadow",attributes:{dx:t.offsetX,dy:t.offsetY,"flood-color":t.color,"flood-opacity":Math.min(5*t.opacity,1),stdDeviation:t.width/2}}]}buildText(t){new class{constructor(t){const e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e?.lineHeight,this.textOutline=e?.textOutline,this.ellipsis="ellipsis"===e?.textOverflow,this.lineClamp=e?.lineClamp,this.noWrap="nowrap"===e?.whiteSpace}buildSVG(){let t=this.svgElement,e=t.element,i=t.renderer,s=Mt(t.textStr,"").toString(),n=-1!==s.indexOf("<"),r=e.childNodes,o=!t.added&&i.box,a=[s,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,t.getStyle("font-size"),t.styles.lineClamp,this.width].join(",");if(a!==t.textCache){t.textCache=a,delete t.actualWidth;for(let t=r.length;t--;)e.removeChild(r[t]);if(n||this.ellipsis||this.width||t.textPath||-1!==s.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(s))){if(""!==s){o&&o.appendChild(e);let i=new fe(s);this.modifyTree(i.nodes),i.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(e)}}else e.appendChild(je.createTextNode(this.unescapeEntities(s)));yt(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,i=U(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),((t,s)=>{t.nextSibling&&t.previousSibling&&(0===s&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),U(t,{dy:this.getLineHeight(t.nextSibling),x:i}))}));let s=this.width||0;if(!s)return;let n=(t,n)=>{let r=t.textContent||"",o=r.replace(/([^\^])-/g,"$1- ").split(" "),a=!this.noWrap&&(o.length>1||e.element.childNodes.length>1),l=this.getLineHeight(n),h=Math.max(0,s-.8*l),c=0,d=e.actualWidth;if(a){let r=[],a=[];for(;n.firstChild&&n.firstChild!==t;)a.push(n.firstChild),n.removeChild(n.firstChild);for(;o.length;)if(o.length&&!this.noWrap&&c>0&&(r.push(t.textContent||""),t.textContent=o.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,o,0===c&&d||0,s,h,((t,e)=>o.slice(0,e).join(" ").replace(/- /g,"-"))),d=e.actualWidth,c++,this.lineClamp&&c>=this.lineClamp){o.length&&(this.truncate(t,t.textContent||"",void 0,0,s,h,Xe),t.textContent=t.textContent?.replace("…","")+"…");break}a.forEach((e=>{n.insertBefore(e,t)})),r.forEach((e=>{n.insertBefore(je.createTextNode(e),t);let s=je.createElementNS(Ge,"tspan");s.textContent="​",U(s,{dy:l,x:i}),n.insertBefore(s,t)}))}else this.ellipsis&&r&&this.truncate(t,r,void 0,0,s,h,Xe)},r=t=>{[].slice.call(t.childNodes).forEach((i=>{i.nodeType===Ve.Node.TEXT_NODE?n(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),r(i))}))};r(e.element)}getLineHeight(t){let e=t.nodeType===Ve.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(i,s)=>{let{attributes:n={},children:r,style:o={},tagName:a}=i,l=this.renderer.styledMode;if("b"===a||"strong"===a?l?n.class="highcharts-strong":o.fontWeight="bold":("i"===a||"em"===a)&&(l?n.class="highcharts-emphasized":o.fontStyle="italic"),o?.color&&(o.fill=o.color),"br"===a){n.class="highcharts-br",i.textContent="​";let e=t[s+1];e?.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===a&&r&&r.some((t=>"#text"===t.tagName))&&(i.children=[{children:r,tagName:"tspan"}]);"#text"!==a&&"a"!==a&&(i.tagName="tspan"),ot(i,{attributes:n,style:o}),r&&r.filter((t=>"#text"!==t.tagName)).forEach(e)};t.forEach(e),lt(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,i,s,n,r,o){let a,l,h=this.svgElement,{rotation:c}=h,d=[],u=i&&!s?1:0,p=(e||i||"").length,f=p;i||(n=r);let g=function(e,n){let r=n||e,o=t.parentNode;if(o&&void 0===d[r]&&o.getSubStringLength)try{d[r]=s+o.getSubStringLength(0,i?r+1:r)}catch{}return d[r]};if(h.rotation=0,s+(l=g(t.textContent.length))>n){for(;u<=p;)f=Math.ceil((u+p)/2),i&&(a=o(i,f)),l=g(f,a&&a.length-1),u===p?u=p+1:l>n?p=f-1:u=f;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=a||o(e||i,f)),this.ellipsis&&l>n&&this.truncate(t,t.textContent||"",void 0,0,n,r,Xe)}i&&i.splice(0,f),h.actualWidth=l,h.rotation=c}unescapeEntities(t,e){return At(this.renderer.escapes,(function(i,s){e&&-1!==e.indexOf(i)||(t=t.toString().replace(RegExp(i,"g"),s))})),t}}(t).buildSVG()}getContrast(t){if("transparent"===t)return"#000000";let e=ie.parse(t).rgba,i=" clamp(0,calc(9e9*(0.5 - (0.2126*r + 0.7152*g + 0.0722*b))),1)";if(bt(e[0])||!ie.useColorMix){let t=e.map((t=>{let e=t/255;return e<=.04?e/12.92:Math.pow((e+.055)/1.055,2.4)})),i=.2126*t[0]+.7152*t[1]+.0722*t[2];return 1.05/(i+.05)>(i+.05)/.05?"#FFFFFF":"#000000"}return"color(from "+t+" srgb"+i+i+i+")"}button(t,e,i,s,n={},r,o,a,l,h){let c=this.label(t,e,i,l,void 0,void 0,h,void 0,"button"),d=this.styledMode,u=arguments,p=0;n=Et(Ye.global.buttonTheme,n),d&&(delete n.fill,delete n.stroke,delete n["stroke-width"]);let f=n.states||{},g=n.style||{};delete n.states,delete n.style;let m=[fe.filterUserAttributes(n)],v=[g];return d||["hover","select","disabled"].forEach(((t,e)=>{m.push(Et(m[0],fe.filterUserAttributes(u[e+5]||f[t]||{}))),v.push(m[e+1].style),delete m[e+1].style})),V(c.element,Je?"mouseover":"mouseenter",(function(){3!==p&&c.setState(1)})),V(c.element,Je?"mouseout":"mouseleave",(function(){3!==p&&c.setState(p)})),c.setState=(t=0)=>{if(1!==t&&(c.state=p=t),c.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!d){c.attr(m[t]);let e=v[t];St(e)&&c.css(e)}},c.attr(m[0]),!d&&(c.css(ot({cursor:"default"},g)),h&&c.text.css({pointerEvents:"none"})),c.on("touchstart",(t=>t.stopPropagation())).on("click",(function(t){3!==p&&s?.call(c,t)}))}crispLine(t,e){let[i,s]=t;return et(i[1])&&i[1]===s[1]&&(i[1]=s[1]=J(i[1],e)),et(i[2])&&i[2]===s[2]&&(i[2]=s[2]=J(i[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return xt(t)?e.d=t:St(t)&&ot(e,t),this.createElement("path").attr(e)}circle(t,e,i){let s=St(t)?t:void 0===t?{}:{x:t,y:e,r:i},n=this.createElement("circle");return n.xSetter=n.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},n.attr(s)}arc(t,e,i,s,n,r){let o;St(t)?(e=(o=t).y,i=o.r,s=o.innerR,n=o.start,r=o.end,t=o.x):o={innerR:s,start:n,end:r};let a=this.symbol("arc",t,e,i,i,o);return a.r=i,a}rect(t,e,i,s,n,r){let o=St(t)?t:void 0===t?{}:{x:t,y:e,r:n,width:Math.max(i||0,0),height:Math.max(s||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==r&&(o["stroke-width"]=r,ot(o,a.crisp(o))),o.fill="none"),a.rSetter=function(t,e,i){a.r=t,U(i,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(o)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:Mt(i,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,i,s,n,r){let o={preserveAspectRatio:"none"};bt(e)&&(o.x=e),bt(i)&&(o.y=i),bt(s)&&(o.width=s),bt(n)&&(o.height=n);let a=this.createElement("image").attr(o),l=function(e){a.attr({href:t}),r.call(a,e)};if(r){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new ni.Image;V(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,i,s,n,r){let o,a,l,h,c=this,d=/^url\((.*?)\)$/,u=d.test(t),p=!u&&(this.symbols[t]?t:"circle"),f=p&&this.symbols[p];if(f)"number"==typeof e&&(a=f.call(this.symbols,e||0,i||0,s||0,n||0,r)),o=this.path(a),c.styledMode||o.attr("fill","none"),ot(o,{symbolName:p||void 0,x:e,y:i,width:s,height:n}),r&&ot(o,r);else if(u){l=t.match(d)[1];let s=o=this.image(l);s.imgwidth=Mt(r?.width,si[l]?.width),s.imgheight=Mt(r?.height,si[l]?.height),h=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach((t=>{s[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:i,element:s,width:n,height:o,imgwidth:a,imgheight:l}=this,h="width"===e?a:l,c=1;r&&"within"===r.backgroundSize&&n&&o&&a&&l?(c=Math.min(n/a,o/l),U(s,{width:Math.round(a*c),height:Math.round(l*c)})):s&&h&&s.setAttribute(e,h),!i&&a&&l&&this.translate(((n||0)-a*c)/2,((o||0)-l*c)/2)}})),et(e)&&s.attr({x:e,y:i}),s.isImg=!0,et(s.imgwidth)&&et(s.imgheight)?h(s):(s.attr({width:0,height:0}),Q("img",{onload:function(){let t=Ue[c.chartIndex];0===this.width&&(tt(this,{position:"absolute",top:"-999em"}),Ze.body.appendChild(this)),si[l]={width:this.width,height:this.height},s.imgwidth=this.width,s.imgheight=this.height,s.element&&h(s),this.parentNode&&this.parentNode.removeChild(this),c.asyncCounter--,c.asyncCounter||!t||t.hasLoaded||t.onload()},src:l}),this.asyncCounter++)}return o}clipRect(t,e,i,s){return this.rect(t,e,i,s,0)}text(t,e,i,s){let n={};if(s&&(this.allowHTML||!this.forExport))return this.html(t,e,i);n.x=Math.round(e||0),i&&(n.y=Math.round(i)),et(t)&&(n.text=t);let r=this.createElement("text").attr(n);return s&&(!this.forExport||this.allowHTML)||(r.xSetter=function(t,e,i){let s=i.getElementsByTagName("tspan"),n=i.getAttribute(e);for(let i,r=0;r<s.length;r++)(i=s[r]).getAttribute(e)===n&&i.setAttribute(e,t);i.setAttribute(e,t)}),r}fontMetrics(t){let e=bt(t)?t:Ot(Ie.prototype.getStyle.call(t,"font-size")||0),i=e<24?e+3:Math.round(1.2*e);return{h:i,b:Math.round(.8*i),f:e}}rotCorr(t,e,i){let s=t;return e&&i&&(s=Math.max(s*Math.cos(e*Ke),4)),{x:-t/3*Math.sin(e*Ke),y:s}}pathToSegments(t){let e=[],i=[],s={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let n=0;n<t.length;n++)yt(i[0])&&bt(t[n])&&i.length===s[i[0].toUpperCase()]&&t.splice(n,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[n]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[n]);return e.push(i.slice(0)),e}label(t,e,i,s,n,r,o,a,l){return new Fe(this,t,e,i,s,n,r,o,a,l)}
vendor: 5,095 bytes, line 45
45alignElements(){this.alignedObjects.forEach((t=>t.align()))}}ot(ri.prototype,{Element:Ie,SVG_NS:ii,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:$e,draw:ei}),q.Renderer=ri;let{composed:oi,isFirefox:ai}=q;class li extends Ie{static compose(t){Lt(oi,"HTMLElement")&&(t.prototype.html=function(t,e,i){return new li(this,"div").attr({text:t,x:Math.round(e),y:Math.round(i)})})}constructor(t,e){super(t,e),this.foreignObject=t.createElement("foreignObject").attr({zIndex:2}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,i){this.xCorr=-t*i,this.yCorr=-e}css(t){let e,{element:i}=this,s=t&&"width"in t,n=s&&t.width;return s&&(delete t.width,this.textWidth=Ot(n)||void 0,e=!0),"ellipsis"===t?.textOverflow&&(t.overflow="hidden",t.whiteSpace="nowrap"),t?.lineClamp?(t.display="-webkit-box",t.WebkitLineClamp=t.lineClamp,t.WebkitBoxOrient="vertical",t.overflow="hidden"):0===t?.lineClamp&&(t.display="inline-block"),bt(Number(t?.fontSize))&&(t.fontSize+="px"),ot(this.styles,t),tt(i,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){let t;if(!this.added)return void(this.alignOnAdd=!0);let{element:e,foreignObject:i,oldTextWidth:s,renderer:n,rotation:r,scaleX:o,styles:{display:a="inline-block",whiteSpace:l},textAlign:h="left",textWidth:c,x:d=0,y:u=0}=this,p=()=>this.textPxLength?this.textPxLength:(tt(e,{width:"",whiteSpace:l||"nowrap"}),e.offsetWidth),f=[r,h,e.innerHTML,c,this.textAlign].join(",");if(tt(e,{display:"inline-block",verticalAlign:"top"}),c!==s){let t=p(),i=c||0,h=!n.styledMode&&""===e.style.textOverflow&&e.style.webkitLineClamp;(i>s||t>i||h)&&(/[\-\s\u00AD]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(tt(e,{width:(r||o||t>i)&&bt(c)?c+"px":h?Math.min(t+1,i)+"px":"auto",display:a,whiteSpace:l||"normal"}),this.oldTextWidth=c)}i.attr({width:n.width,height:n.height}),f!==this.cTT&&(t=n.fontMetrics(e).b,this.getSpanCorrection(!et(r)&&!this.textWidth&&this.textPxLength||e.offsetWidth,t,ht(h))),super.updateTransform(),bt(d)&&bt(u)?(i.attr({x:d+(this.xCorr||0),y:u+(this.yCorr||0),width:e.offsetWidth+4,height:e.offsetHeight+1,"transform-origin":e.getAttribute("transform-origin")||"0 0"}),tt(e,{display:a,textAlign:h})):ai&&i.attr({width:0,height:0}),this.cTT=f}add(t){let{foreignObject:e,renderer:i}=this;return e.add(t),super.add(i.createElement("body").attr({xmlns:"http://www.w3.org/1999/xhtml"}).css({background:"transparent",margin:"0 3px 0 0"}).add(e)),this.alignOnAdd&&this.updateTransform(),this}textSetter(t){t!==this.textStr&&(delete this.oldTextWidth,fe.setElementHTML(this.element,t??""),this.textStr=t,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let hi=li.prototype;hi.ySetter=hi.xSetter,(c=y||(y={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%[HMSL]",range:!1},second:{main:"%[HMS]",range:!1},minute:{main:"%[HM]",range:!1},hour:{main:"%[HM]",boundary:void 0,range:!1},day:{main:"%[eb]",boundary:"%[eb]"},week:{main:"%[eb]"},month:{main:"%[bY]",boundary:void 0},year:{main:"%[Y]",boundary:void 0}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"var(--highcharts-neutral-color-80)",cursor:"default",fontSize:"0.8em",textOverflow:"ellipsis"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"var(--highcharts-neutral-color-5)",minorGridLineWidth:1,minorTickColor:"var(--highcharts-neutral-color-40)",lineColor:"var(--highcharts-neutral-color-80)",lineWidth:1,gridLineColor:"var(--highcharts-neutral-color-10)",gridLineWidth:void 0,tickColor:"var(--highcharts-neutral-color-80)"},c.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return this.axis.chart.numberFormatter(this.total||0,-1)},style:{color:"var(--highcharts-neutral-color-100)",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};let ci=y;(x||(x={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},At(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(Dt(t,i,t.eventOptions[i]),delete t.eventOptions[i]),wt(e)&&(t.eventOptions[i]=e,V(t,i,e,{order:0})))}
45))};let di=x,{deg2rad:ui}=q,pi=class{constructor(t,e,i,s,n){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=n||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,lt(this,"init"),i||s||this.addLabel()}addLabel(){let t,e,i,s=this,n=s.axis,r=n.options,o=n.chart,a=n.categories,l=n.logarithmic,h=n.names,c=s.pos,d=Mt(s.options?.labels,r.labels),u=n.tickPositions,p=c===u[0],f=c===u[u.length-1],g=u.info,m=g?.boundaryTicks[c],v=r.dateTimeLabelFormats,b=s.label,y=this.parameters.category||(a?Mt(a[c],h[c],c):c);if(l&&bt(y)&&(y=Z(l.lin2log(y))),n.dateTime&&v)if(g){let i=g.unitName,s={millisecond:"hour",second:"hour",minute:"hour",hour:"day",day:"month",week:"month",month:"year",year:"year"}[i],n=!r.grid?.enabled&&m&&s&&v[s]?.boundary||v[i];t=(e=o.time.resolveDTLFormat(n)).main}else bt(y)&&(t=n.dateTime.getXDateFormat(y,v||{}));s.isFirst=p,s.isLast=f,s.boundary=m;let x={axis:n,chart:o,dateTimeLabelFormat:t,boundary:m,isFirst:p,isLast:f,pos:c,tick:s,tickPositionInfo:g,value:y};lt(this,"labelFormat",x);let w=t=>d.formatter?d.formatter.call(t,t):d.format?(t.text=n.defaultLabelFormatter.call(t),Se.format(d.format,t,o)):n.defaultLabelFormatter.call(t),S=w.call(x,x),E=e?.list;s.shortenLabel=E?function(){for(i=0;i<E.length;i++)if(ot(x,{dateTimeLabelFormat:E[i]}),b.attr({text:w.call(x,x)}),b.getBBox().width<n.getSlotWidth(s)-2*(d.padding||0))return;b.attr({text:""})}:void 0,b?b.textStr!==S&&(!b.textWidth||d.style.width||b.styles.width||b.css({width:void 0}),b.attr({text:S}),b.textPxLength=b.getBBox().width):(s.label=b=s.createLabel(S,d),s.rotation=0)}createLabel(t,e,i){let s=this.axis,{renderer:n,styledMode:r}=s.chart,o=e.style.whiteSpace,a=et(t)&&e.enabled?n.text(t,i?.x,i?.y,e.useHTML).add(s.labelGroup):void 0;return a&&(r||a.css(Et(e.style)),a.textPxLength=a.getBBox().width,!r&&o&&a.css({whiteSpace:o})),a}destroy(){it(this,this.axis)}getPosition(t,e,i,s){let n=this.axis,r=n.chart,o=s&&r.oldChartHeight||r.chartHeight,a={x:t?Z(n.translate(e+i,void 0,void 0,s)+n.transB):n.left+n.offset+(n.opposite?(s&&r.oldChartWidth||r.chartWidth)-n.right-n.left:0),y:t?o-n.bottom+n.offset-(n.opposite?n.height:0):Z(o-n.translate(e+i,void 0,void 0,s)-n.transB)};return a.y=K(a.y,-1e9,1e9),lt(this,"afterGetPosition",{pos:a}),a}getLabelPosition(t,e,i,s,n,r,o,a){let l,h,c=this.axis,d=c.transA,u=c.isLinked&&c.linkedParent?c.linkedParent.reversed:c.reversed,p=c.staggerLines,f=c.tickRotCorr||{x:0,y:0},g=s||c.reserveSpaceDefault?0:-c.labelOffset*("center"===c.labelAlign?.5:1),m=n.distance,v={};return l=0===c.side?i.rotation?-m:-i.getBBox().height:2===c.side?f.y+m:Math.cos(i.rotation*ui)*(f.y-i.getBBox(!1,0).height/2),et(n.y)&&(l=0===c.side&&c.horiz?n.y+l:n.y),t=t+Mt(n.x,[0,1,0,-1][c.side]*m)+g+f.x-(r&&s?r*d*(u?-1:1):0),e=e+l-(r&&!s?r*d*(u?1:-1):0),p&&(h=o/(a||1)%p,c.opposite&&(h=p-h-1),e+=h*(c.labelOffset/p)),v.x=t,v.y=Math.round(e),lt(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:r,index:o}),v}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,i,s,n=!1,r){return r.crispLine([["M",t,e],["L",t+(n?0:-i),e+(n?i:0)]],s)}handleOverflow(t){let e,i=this.axis,s=i.options.labels,n=t.x,r=i.chart.chartWidth,o=i.chart.spacing,a=Mt(i.labelLeft,Math.min(i.pos,o[3])),l=Mt(i.labelRight,Math.max(i.isRadial?0:i.pos+i.len,r-o[1])),h=this.label,c=this.rotation,d=ht(i.labelAlign||h.attr("align")),u=h.getBBox().width,p=i.getSlotWidth(this),f=p,g=1;c||"justify"!==s.overflow?c<0&&n-d*u<a?e=Math.round(n/Math.cos(c*ui)-a):c>0&&n+d*u>l&&(e=Math.round((r-n)/Math.cos(c*ui))):(n-d*u<a?f=t.x+f*(1-d)-a:n+(1-d)*u>l&&(f=l-t.x+f*d,g=-1),(f=Math.min(p,f))<p&&"center"===i.labelAlign&&(t.x+=g*(p-f-d*(p-Math.min(u,f)))),(u>f||i.autoRotation&&h?.styles?.width)&&(e=f)),e&&h&&(this.shortenLabel?this.shortenLabel():h.css(ot({},{width:Math.floor(e)+"px",lineClamp:+!i.isRadial})))}render(t,e,i){let s=this.axis,n=s.horiz,r=this.pos,o=Mt(this.tickmarkOffset,s.tickmarkOffset),a=this.getPosition(n,r,o,e),l=a.x,h=a.y,c=s.pos,d=c+s.len,u=n?l:h,p=Mt(i,this.label?.newOpacity,1);!s.chart.polar&&(Z(u)<c||u>d)&&(i=0),i??(i=1),this.isActive=!0,this.renderGridLine(e,i),this.renderMark(a,i),this.renderLabel(a,e,p,t),this.isNew=!1,lt(this,"afterRe
45nder")}renderGridLine(t,e){let i,s=this.axis,n=s.options,r={},o=this.pos,a=this.type,l=Mt(this.tickmarkOffset,s.tickmarkOffset),h=s.chart.renderer,c=this.gridLine,d=n.gridLineWidth,u=n.gridLineColor,p=n.gridLineDashStyle;"minor"===this.type&&(d=n.minorGridLineWidth,u=n.minorGridLineColor,p=n.minorGridLineDashStyle),c||(s.chart.styledMode||(r.stroke=u,r["stroke-width"]=d||0,r.dashstyle=p),a||(r.zIndex=1),t&&(e=0),this.gridLine=c=h.path().attr(r).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(s.gridGroup)),c&&(i=s.getPlotLinePath({value:o+l,lineWidth:c.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&c[t||this.isNew?"attr":"animate"]({d:i,opacity:e})}renderMark(t,e){let i=this.axis,s=i.options,n=i.chart.renderer,r=this.type,o=i.tickSize(r?r+"Tick":"tick"),a=t.x,l=t.y,h=Mt(s["minor"!==r?"tickWidth":"minorTickWidth"],!r&&i.isXAxis?1:0),c=s["minor"!==r?"tickColor":"minorTickColor"],d=this.mark,u=!d;o&&(i.opposite&&(o[0]=-o[0]),!d&&(this.mark=d=n.path().addClass("highcharts-"+(r?r+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||d.attr({stroke:c,"stroke-width":h})),d[u?"attr":"animate"]({d:this.getMarkPath(a,l,o[0],d.strokeWidth(),i.horiz,n),opacity:e}))}renderLabel(t,e,i,s){let n=this.axis,r=n.horiz,o=n.options,a=this.label,l=o.labels,h=l.step,c=Mt(this.tickmarkOffset,n.tickmarkOffset),d=t.x,u=t.y,p=!0;a&&bt(d)&&(a.xy=t=this.getLabelPosition(d,u,a,r,l,c,s,h),this.isFirst&&!this.isLast&&!o.showFirstLabel||this.isLast&&!this.isFirst&&!o.showLastLabel?p=!1:r&&!e&&0!==i&&this.handleOverflow(t),h&&s%h&&(p=!1),p&&bt(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}},{animObject:fi}=le,{xAxis:gi,yAxis:mi}=ci,{parse:vi}=ie,{defaultOptions:bi}=Qt,{registerEventOptions:yi}=di,{deg2rad:xi}=q,wi=(t,e)=>Ct(e,void 0,void 0,Mt(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);ot(bi,{xAxis:gi,yAxis:Et(gi,mi)});class Si{constructor(t,e,i){this.clippable=!0,this.init(t,e,i)}init(t,e,i=this.coll){let s="xAxis"===i,n=this.isZAxis||(t.inverted?!s:s);this.chart=t,this.horiz=n,this.isXAxis=s,this.coll=i,lt(this,"init",{userOptions:e}),this.opposite=Mt(e.opposite,this.opposite),this.side=Mt(e.side,this.side,n?2*!this.opposite:this.opposite?1:3),this.setOptions(e);let r=this.options,o=r.labels;this.type??(this.type=r.type||"linear"),this.uniqueNames??(this.uniqueNames=r.uniqueNames??!0),lt(this,"afterSetType"),this.userOptions=e,this.minPixelPadding=0,this.reversed=Mt(r.reversed,this.reversed),this.visible=r.visible,this.zoomEnabled=r.zoomEnabled,this.hasNames="category"===this.type||!0===r.categories,this.categories=xt(r.categories)&&r.categories||(this.hasNames?[]:void 0),this.names||(this.names=[]),this.namesMap||(this.namesMap={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=et(r.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.max=void 0,this.min=void 0;let a=Mt(r.crosshair,It(t.options.tooltip.crosshairs)[+!s]);this.crosshair=!0===a?{}:a,-1===t.axes.indexOf(this)&&(s?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),qt(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&s&&!et(this.reversed)&&(this.reversed=!0),this.labelRotation=bt(o.rotation)?o.rotation:void 0,yi(this,r),lt(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:3},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=Et(e,"yAxis"===this.coll?{title:{text:this.chart.options.lang.yAxisTitle}}:{},bi[this.coll],t),lt(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,i=this.axis,s=this.chart,{numberFormatter:n}=s,r=bt(this.value)?this.value:NaN,o=i.chart.time,a=i.categories,l=this.dateTimeLabelFormat,h=bi.lang,c=h.numericSymbols,d=h.numericSymbolMagnitude||1e3,u=i.logarithmic?Math.abs(r):i.tickInterval,p=c?.length;if(a)e=`${this.value}`;else if(l)e=o.dateFormat(l,r,!0);else if(p&&c&&u>=1e3)for(;p--&&void 0===e;)u>=(t=Math.pow(d,p+1))&&10*r%t==0&&null!==c[p]&&0!==r&&(e=n(r/t,-1,void 0,void 0,s)+c[p]);return e??(e=n(r,-1,void 0,1e4>Math.abs(r)?"":void 0,s)),e}getSeriesExtremes(){let t,e=this;lt(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEac
45h((i=>{if(i.reserveSpace()){let s,n,r,o=i.options,a=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(s=i.getColumn("x")).length&&(s=e.logarithmic?s.filter((t=>t>0)):s,n=(t=i.getXExtremes(s)).min,r=t.max,bt(n)||n instanceof Date||(s=s.filter(bt),n=(t=i.getXExtremes(s)).min,r=t.max),s.length&&(e.dataMin=Math.min(Mt(e.dataMin,n),n),e.dataMax=Math.max(Mt(e.dataMax,r),r)));else{let t=i.applyExtremes();bt(t.dataMin)&&(n=t.dataMin,e.dataMin=Math.min(Mt(e.dataMin,n),n)),bt(t.dataMax)&&(r=t.dataMax,e.dataMax=Math.max(Mt(e.dataMax,r),r)),et(a)&&(e.threshold=a),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}}))})),lt(this,"afterGetSeriesExtremes")}translate(t,e,i,s,n,r){let o=this.linkedParent||this,a=s&&o.old?o.old.min:o.min;if(!bt(a))return NaN;let l=o.minPixelPadding,h=(o.isOrdinal||o.brokenAxis?.hasBreaks||o.logarithmic&&n)&&!!o.lin2val,c=1,d=0,u=s&&o.old?o.old.transA:o.transA,p=0;return u||(u=o.transA),i&&(c*=-1,d=o.len),o.reversed&&(c*=-1,d-=c*(o.sector||o.len)),e?(p=(t=t*c+d-l)/u+a,h&&(p=o.lin2val(p))):(h&&(t=o.val2lin(t)),p=c*(t-a)*u+d+c*l+(bt(r)?u*r:0),o.isRadial||(p=Z(p))),p}toPixels(t,e){return this.translate(this.chart?.time.parse(t)??NaN,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,i,s,n,r,o=this,a=o.chart,l=o.left,h=o.top,c=t.old,d=t.value,u=t.lineWidth,p=c&&a.oldChartHeight||a.chartHeight,f=c&&a.oldChartWidth||a.chartWidth,g=o.transB,m=t.translatedValue,v=t.force;function b(t,e,i){return"pass"!==v&&(t<e||t>i)&&(v?t=K(t,e,i):r=!0),t}let y={value:d,lineWidth:u,old:c,force:v,acrossPanes:t.acrossPanes,translatedValue:m};return lt(this,"getPlotLinePath",y,(function(t){e=s=(m=K(m=Mt(m,o.translate(d,void 0,void 0,c)),-1e9,1e9))+g,i=n=p-m-g,bt(m)?o.horiz?(i=h,n=p-o.bottom+(o.options.isInternal?0:a.scrollablePixelsY||0),e=s=b(e,l,l+o.width)):(e=l,s=f-o.right+(a.scrollablePixelsX||0),i=n=b(i,h,h+o.height)):(r=!0,v=!1),t.path=r&&!v?void 0:a.renderer.crispLine([["M",e,i],["L",s,n]],u||1)})),y.path}getLinearTickPositions(t,e,i){let s,n,r,o=Z(Math.floor(e/t)*t),a=Z(Math.ceil(i/t)*t),l=[];if(Z(o+t)===o&&(r=20),this.single)return[e];for(s=o;s<=a&&(l.push(s),(s=Z(s+t,r))!==n);)n=s;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?Mt(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,i=this.tickPositions,s=this.minorTickInterval,n=this.pointRangePadding||0,r=(this.min||0)-n,o=(this.max||0)+n,a=this.brokenAxis?.hasBreaks?this.brokenAxis.unitLength:o-r,l=[];if(a&&a/s<this.len/3){let n=this.logarithmic;if(n)this.paddedTicks.forEach((function(t,e,i){e&&l.push.apply(l,n.getLogTickPositions(s,i[e-1],i[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(s),r,o,e.startOfWeek));else for(t=r+(i[0]-r)%s;t<=o&&t!==l[0];t+=s)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,i,s,n=this.options,r=this.logarithmic,o=this.chart.time,{max:a,min:l,minRange:h}=this;this.isXAxis&&void 0===h&&!r&&(h=et(n.min)||et(n.max)||et(n.floor)||et(n.ceiling)?null:Math.min(5*(ct(this.series.map((t=>{let e=t.getColumn("x");return t.xIncrement?e.slice(0,2):e})))||0),this.dataMax-this.dataMin)),bt(a)&&bt(l)&&bt(h)&&a-l<h&&(e=this.dataMax-this.dataMin>=h,t=(h-a+l)/2,i=[l-t,o.parse(n.min)??l-t],e&&(i[2]=r?r.log2lin(this.dataMin):this.dataMin),s=[(l=Y(i))+h,o.parse(n.max)??l+h],e&&(s[2]=r?r.log2lin(this.dataMax):this.dataMax),(a=X(s))-l<h&&(i[0]=a-h,i[1]=o.parse(n.min)??a-h,l=Y(i))),this.minRange=h,this.min=l,this.max=a}getClosest(){let t,e;if(this.categories)e=1;else{let i=[];this.series.forEach((function(t){let s=t.closestPointRange,n=t.getColumn("x");1===n.length?i.push(n[0]):t.sorted&&et(s)&&t.reserveSpace()&&(e=et(e)?Math.min(e,s):s)})),i.length&&(i.sort(((t,e)=>t-e)),t=ct([i]))}return t&&e?Math.min(t,e):t||e}nameToX(t,e){let i,s=xt(this.options.categories),{name:n,series:r}=t,o=s?this.categories:this.names,a=this.namesMap;return r.requireSorting=!1,et(e)||(e=this.uniqueNames&&o?s?o.indexOf(n):a[n]??-1:r.autoIncrement()),-1===e?!s&&o&&(i=o.length):bt(e)&&(i=e),void 0!==i?(this.names[i]=t.name,a[t.name]=i):i=bt(t.x)?t.x:r.autoIncrement(),i}updateNames(){let t=this,{names:e,namesMap:i}=this;e.length>
450&&(Object.keys(i).forEach((function(t){delete i[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e=>{if(e.xIncrement=null,delete e.xColumn,!e.points||e.isDirtyData)t.max=Math.max(t.max||0,e.dataTable.rowCount-1),e.processData(),e.generatePoints();else{let t=e.getColumn("x");e.points?.forEach((e=>{e.x=t[e.index]}))}})))}setAxisTranslation(){let t,e,i=this,s=i.max-i.min,n=i.linkedParent,r=!!i.categories,o=i.isXAxis,a=i.axisPointRange||0,l=0,h=0,c=i.transA;(o||r||a)&&(t=i.getClosest(),n?(l=n.minPointOffset,h=n.pointRangePadding):i.series.forEach((function(e){let s=r?1:o?Mt(e.options.pointRange,t,0):i.axisPointRange||0,n=e.options.pointPlacement;if(a=Math.max(a,s),!i.single||r){let t=e.is("xrange")?!o:o;l=Math.max(l,t&&yt(n)?0:s/2),h=Math.max(h,t&&"on"===n?0:s)}})),e=i.ordinal?.slope&&t?i.ordinal.slope/t:1,i.minPointOffset=l*=e,i.pointRangePadding=h*=e,i.pointRange=Math.min(a,i.single&&r?1:s),o&&(i.closestPointRange=t)),i.translationSlope=i.transA=c=i.staticScale||i.len/(s+h||1),i.transB=i.horiz?i.left
45:i.bottom,i.minPixelPadding=c*l,lt(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return bt(t)&&bt(e)&&t-e||void 0}setTickInterval(t){let e,i,s,n,r,{categories:o,chart:a,dataMax:l,dataMin:h,dateTime:c,isXAxis:d,logarithmic:u,options:p,softThreshold:f}=this,g=a.time,m=bt(this.threshold)?this.threshold:void 0,v=this.minRange||0,{ceiling:b,floor:y,linkedTo:x,softMax:w,softMin:S}=p,E=bt(x)&&a[this.coll]?.[x],C=p.tickPixelInterval,A=p.maxPadding,T=p.minPadding,k=0,M=bt(p.tickInterval)&&p.tickInterval>=0?p.tickInterval:void 0;if(c||o||E||this.getTickAmount(),n=Mt(this.userMin,g.parse(p.min)),r=Mt(this.userMax,g.parse(p.max)),E?(this.linkedParent=E,e=E.getExtremes(),this.min=Mt(e.min,e.dataMin),this.max=Mt(e.max,e.dataMax),this.type!==E.type&&Wt(11,!0,a)):(f&&et(m)&&bt(l)&&bt(h)&&(h>=m?(i=m,T=0):l<=m&&(s=m,A=0)),this.min=Mt(n,i,h),this.max=Mt(r,s,l)),bt(this.max)&&bt(this.min)&&(u&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,Mt(h,this.min))&&Wt(10,!0,a),this.min=Z(u.log2lin(this.min),16),this.max=Z(u.log2lin(this.max),16)),this.range&&bt(h)&&(this.userMin=this.min=n=Math.max(h,this.minFromRange()||0),this.userMax=r=this.max,this.range=void 0)),lt(this,"foundExtremes"),this.adjustForMinRange(),bt(this.min)&&bt(this.max)){if(!bt(this.userMin)&&bt(S)&&S<this.min&&(this.min=n=S),!bt(this.userMax)&&bt(w)&&w>this.max&&(this.max=r=w),o||this.axisPointRange||this.stacking?.usePercentage||E||(k=this.max-this.min)&&(!et(n)&&T&&(this.min-=k*T),!et(r)&&A&&(this.max+=k*A)),!bt(this.userMin)&&bt(y)&&(this.min=Math.max(this.min,y)),!bt(this.userMax)&&bt(b)&&(this.max=Math.min(this.max,b)),f&&bt(h)&&bt(l)){let t=m||0;!et(n)&&this.min<t&&h>=t?this.min=p.minRange?Math.min(t,this.max-v):t:!et(r)&&this.max>t&&l<=t&&(this.max=p.minRange?Math.max(t,this.min+v):t)}!a.polar&&this.min>this.max&&(et(p.min)?this.max=this.min:et(p.max)&&(this.min=this.max)),k=this.max-this.min}if(this.min!==this.max&&bt(this.min)&&bt(this.max)?E&&!M&&C===E.options.tickPixelInterval?this.tickInterval=M=E.tickInterval:this.tickInterval=Mt(M,this.tickAmount?k/Math.max(this.tickAmount-1,1):void 0,o?1:k*C/Math.max(this.len,C)):this.tickInterval=1,d&&!t){let t=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach((function(e){e.forceCrop=e.forceCropping?.(),e.processData(t)})),lt(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),lt(this,"initialAxisTranslation"),this.pointRange&&!M&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let O=Mt(p.minTickInterval,c&&!this.series.some((t=>!t.sorted))?this.closestPointRange:0);!M&&O&&this.tickInterval<O&&(this.tickInterval=O),c||u||M||(this.tickInterval=wi(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let t,e=this.options,i=e.tickPositions,s=e.tickPositioner,n=this.getMinorTickInterval(),r=!this.isPanning,o=r&&e.startOnTick,a=r&&e.endOnTick,l=[];
vendor: 4,381 bytes, line 45
45if(this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.single=this.min===this.max&&et(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==e.allowDecimals),i)l=i.slice();else if(bt(this.min)&&bt(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))l=[this.min,this.max],Wt(19,!1,this.chart);else if(this.dateTime)l=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)l=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(l=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&l.length>this.tickAmount);)this.tickInterval=wi(this,e*=1.1)}l.length>this.len&&(l=[l[0],l[l.length-1]])[0]===l[1]&&(l.length=1),s&&(this.tickPositions=l,(t=s.apply(this,[this.min,this.max,this]))&&(l=t))}this.isDirty||l.length===this.tickPositions?.length||(this.isDirty=!0),this.tickPositions=l,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/e.minorTicksPerMajor:n,this.paddedTicks=l.slice(0),this.trimTicks(l,o,a),!this.isLinked&&bt(this.min)&&bt(this.max)&&(this.single&&l.length<2&&!this.categories&&!this.series.some((t=>t.is("heatmap")&&"between"===t.options.pointPlacement))&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),lt(this,"afterSetTickPositions")}trimTicks(t,e,i){let s=t[0],n=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(lt(this,"trimTicks"),!this.isLinked||!this.grid){if(e&&bt(s))this.min=s;else if(t.length)for(;this.min-r>t[0];)t.shift();if(i&&bt(n))this.max=n;else for(;this.max+r<t[t.length-1];)t.pop();0===t.length&&et(s)&&!this.options.tickPositions&&t.push((n+s)/2)}}alignToOthers(){let t,e=this,i=e.chart,s=[this],n=e.options,r=i.options.chart,o="yAxis"===this.coll&&r.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==r.alignTicks&&n.alignTicks||o)&&!1!==n.startOnTick&&!1!==n.endOnTick&&!e.logarithmic){let n=t=>{let{horiz:e,options:i}=t;return[e?i.left:i.top,i.width,i.height,i.pane].join(",")},r=n(this);i[this.coll].forEach((function(i){let{series:o}=i;o.length&&o.some((t=>t.visible))&&i!==e&&n(i)===r&&(t=!0,s.push(i))}))}if(t&&o){s.forEach((t=>{let i=t.getThresholdAlignment(e);bt(i)&&a.push(i)}));let t=a.length>1?a.reduce(((t,e)=>t+e),0)/a.length:void 0;s.forEach((e=>{e.thresholdAlignment=t}))}return t}getThresholdAlignment(t){if((!bt(this.dataMin)||this!==t&&this.series.some((t=>t.isDirty||t.isDirtyData||t.xAxis?.isDirty)))&&this.getSeriesExtremes(),bt(this.threshold)){let t=K((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,i=t.tickAmount;et(t.tickInterval)||i||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),i<4&&(this.finalTickAmt=i,i=5),this.tickAmount=i}adjustTickAmount(){let t,e,i,s=this,{finalTickAmt:n,max:r,min:o,options:a,tickPositions:l,tickAmount:h,thresholdAlignment:c}=s,d=l?.length,u=Mt(s.threshold,s.softThreshold?0:null),p=s.tickInterval,f=()=>l.push(Z(l[l.length-1]+p)),g=()=>l.unshift(Z(l[0]-p));if(bt(c)&&(i=0===c?0:1===c?h-1:Math.round(K(c*(h-1),1,h-2)),a.reversed&&(i=h-1-i)),s.hasData()&&bt(o)&&bt(r)){let c=()=>{s.transA*=(d-1)/(h-1),s.min=a.startOnTick?l[0]:Math.min(o,l[0]),s.max=a.endOnTick?l[l.length-1]:Math.max(r,l[l.length-1])};if(bt(i)&&bt(s.threshold)){for(;l[i]!==u||l.length!==h||l[0]>o||l[l.length-1]<r;){for(l.length=0,l.push(s.threshold);l.length<h;)void 0===l[i]||l[i]>s.threshold?g():f();if(p>8*s.tickInterval)break;p*=2}c()}else if(d<h){for(;l.length<h;)l.length%2||o===u?f():g();c()}if(et(n)){for(e=t=l.length;e--;)(3===n&&e%2==1||n<=2&&e>0&&e<t-1)&&l.splice(e,1);s.finalTickAmt=void 0}}}setScale(){let{coll:t,stacking:e}=this,i=!1,s=!1;this.series.forEach((t=>{i=i||t.isDirtyData||t.isDirty,s=s||t.xAxis?.isDirty||!1})),this.setAxisSize();let n=this.len!==this.old?.len;n||i||s||this.isLinked||this.forceRedraw||this.userMin!==this.old?.userMin||this.userMax!==this.old?.userMax||this.alignToOthers()?(e&&"yAxis"===t&&e.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.get
45SeriesExtremes(),this.setTickInterval(),e&&"xAxis"===t&&e.buildStacks(),this.isDirty||(this.isDirty=n||this.min!==this.old?.min||this.max!==this.old?.max)):e&&e.cleanStacks(),i&&delete this.allExtremes,lt(this,"afterSetScale")}setExtremes(t,e,i=!0,s,n){let r=this.chart;this.series.forEach((t=>{delete t.kdTree})),lt(this,"setExtremes",n=ot(n,{min:t=r.time.parse(t),max:e=r.time.parse(e)}),(t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,i&&r.redraw(s)}))}setAxisSize(){let t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],s=this.horiz,n=this.width=Math.round(_t(Mt(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),r=this.height=Math.round(_t(Mt(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),o=this.top=Math.round(_t(Mt(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(_t(Mt(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-r-o,this.right=t.chartWidth-n-a,this.len=Math.max(s?n:r,0),this.pos=s?a:o}getExtremes(){let t=this.logarithmic;return{min:t?Z(t.lin2log(this.min)):this.min,max:t?Z(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,i=e?e.lin2log(this.min):this.min,s=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=i:t===1/0?t=s:i>t?t=i:s<t&&(t=s),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=((t-90*this.side)%360+360)%360,i={align:"center"};return lt(this,"autoLabelAlign",i,(function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")})),i.align}tickSize(t){let e,i=this.options,s=Mt(i["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=i["tick"===t?"tickLength":"minorTickLength"];s&&n&&("inside"===i[t+"Position"]&&(n=-n),e=[n,s]);let r={tickSize:e,prefix:t};return lt(this,"afterTickSize",r),r.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,i=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(i.label||t.box)}unsquish(){let t,e,i=this.options.labels,s=i.padding||0,n=this.horiz,r=this.tickInterval,o=this.len/((+!!this.categories+this.max-this.min)/r),a=i.rotation,l=Z(.8*this.labelMetrics().h),h=Math.max(this.max-this.min,0),c=function(t){let e=(t+2*s)/(o||1);return(e=e>1?Math.ceil(e):1)*r>h&&t!==1/0&&o!==1/0&&h&&(e=Math.ceil(h/r)),Z(e*r)},d=r,u=Number.MAX_VALUE;if(n){if(!i.staggerLines&&(bt(a)?e=[a]:o<i.autoRotationLimit&&(e=i.autoRotation)),e){let i,s;for(let n of e)(n===a||n&&n>=-90&&n<=90)&&(s=(i=c(Math.abs(l/Math.sin(xi*n))))+Math.abs(n/360))<u&&(u=s,t=n,d=i)}}else d=c(.75*l);return this.autoRotation=e,this.labelRotation=Mt(t,bt(a)?a:0),i.step?r:d}getSlotWidth(t){let e=this.chart,i=this.horiz,s=this.options.labels,n=Math.max(this.tickPositions.length-!this.categories,1),r=e.margin[3];if(t&&bt(t.slotWidth))return t.slotWidth;if(i&&s.step<2&&!this.isRadial)return s.rotation?0:(this.staggerLines||1)*this.len/n;if(!i){let t=s.style.width;if(void 0!==t)return parseInt(String(t),10);if(!this.opposite&&r)return r-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e=this.chart,i=e.renderer,s=this.tickPositions,n=this.ticks,r=this.options.labels,o=r.style,a=this.horiz,l=this.getSlotWidth(),h=Math.max(1,Math.round(l-(a?2*(r.padding||0):r.distance||0))),c={},d=this.labelMetrics(),u=o.lineClamp,p=u??(Math.floor(this.len/(s.length*d.h))||1),f=0;yt(r.rotation)||(c.rotation=r.rotation||0),s.forEach((function(t){f=Math.max(f,n[t].label?.textPxLength||0)})),this.maxLabelLength=f,this.autoRotation?f>h&&f>d.h?c.rotation=this.labelRotation:this.labelRotation=0:l&&(t=h),c.rotation&&(t=f>.5*e.chartHeight?.33*e.chartHeight:f,u||(p=1)),this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation||0),this.labelAlign&&(c.align=this.labelAlign),s.forEach((function(e){let i=n[e],s=i?.label,r=o.width,a={};s&&(s.attr(c),i.shortenLabel?i.shortenLabel():t&&!r&&"nowrap"!==o.whiteSpace&&(t<(s.textPxLength||0)||"DIV"===s.element.tagName)?s.css(ot(a,{width:`${t}px`,lineClamp:p})):(s.styles.width||s.textWidth||s.styles.lineClamp)&&!a.width&&!r&&s.css({width:"auto",lineClamp:0}),i.rotation=c.rotation)}),this),this.tickRotCorr=i.rotCorr(d.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&et(this.min)&&et(this.max)}addTitle(t){let e,i=this.chart.renderer,s=this.horiz,n=this.opposite,r=this.options.title,o=this.chart.styledMode;
45this.axisTitle||((e=r.textAlign)||(e=(s?{low:"left",middle:"center",high:"right"}:{low:n?"right":"left",middle:"center",high:n?"left":"right"})[r.align]),this.axisTitle=i.text(r.text||"",0,0,r.useHTML).attr({zIndex:7,rotation:r.rotation||0,align:e}).addClass("highcharts-axis-title"),o||this.axisTitle.css(Et(r.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),o||r.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new pi(this,t)}createGroups(){let{axisParent:t,chart:e,coll:i,options:s}=this,n=e.renderer,r=(e,r,o)=>n.g(e).attr({zIndex:o}).addClass(`highcharts-${i.toLowerCase()}${r} `+(this.isRadial?`highcharts-radial-axis${r} `:"")+(s.className||"")).add(t);this.axisGroup||(this.gridGroup=r("grid","-grid",s.gridZIndex).clip(this.clippable?e.plotClipInner:void 0),this.axisGroup=r("axis","",s.zIndex),this.labelGroup=r("axis-labels","-labels",s.labels.zIndex))}shuffleTicks(){let t=this.ticks,e=this.old?.names;if("category"===this.type&&e){e.forEach(((i,s)=>{let n=this.namesMap[i];et(n)&&s!==n&&(t[s]&&(t[s].pos=n,this.isDirty=!0),t[n]&&-1===this.names.indexOf(e[n])&&(t[n].pos=NaN))}));let i=Object.values(t);Object.keys(t).forEach((e=>{delete t[e]})),i.forEach((e=>
45{isNaN(e.pos)?e.destroy():t[e.pos]=e}))}}getOffset(){let t,e,i,s,n,{chart:r,horiz:o,options:a,side:l,ticks:h,tickPositions:c,coll:d}=this,u=this.hasData(),p=a.title,f=a.labels,g=bt(a.crossing),m=r.axisOffset,v=r.clipOffset,b=[-1,1,1,-1][l],y=this.tickRotCorr||{x:0,y:0},x=0,w=0,S=0,E=0;if(this.showAxis=t=u||a.showEmpty,this.staggerLines=this.horiz&&f.staggerLines||void 0,this.createGroups(),u||this.isLinked?(this.shuffleTicks(),c.forEach(this.generateTick.bind(this)),this.renderUnsquish(),x=Math.abs((y=this.tickRotCorr).x),n=this.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===this.labelAlign,(f.reserveSpace??(!g&&null)??("center"===this.labelAlign||null)??n)&&c.forEach((function(t){E=Math.max(h[t].getLabelSize(),E)})),this.staggerLines&&(E*=this.staggerLines),!o&&bt(this.labelRotation)&&n&&(E-=x),this.labelOffset=E*(this.opposite?-1:1)):At(h,(function(t,e){t.destroy(),delete h[e]})),p?.text&&!1!==p.enabled&&(this.addTitle(t),t&&!g&&!1!==p.reserveSpace&&(this.titleOffset=w=this.axisTitle.getBBox()[o?"height":"width"],S=et(e=p.offset)?0:Mt(p.margin,o?5:10))),this.renderLine(),this.offset=b*(bt(a.offset)?a.offset:m[l]?m[l]+(a.margin||0):0),s=0===l?-this.labelMetrics().h:2===l?y.y:0,i=Math.abs(E)+S,E&&(i-=s,i+=b*(o?f.y??y.y+b*f.distance:f.x??(n?b*(f.distance-x):y.x+b*f.distance)),!o&&!n&&"center"===this.labelAlign&&bt(this.labelRotation)&&(i+=x)),this.axisTitleMargin=e??i,this.maxLabelDimensions=this.getMaxLabelDimensions?.(h,c),"colorAxis"!==d&&v){let t=this.tickSize("tick");m[l]=Math.max(m[l],(this.axisTitleMargin||0)+w+b*this.offset,i,c?.length&&t?t[0]+b*this.offset:0);let e=!this.axisLine||a.offset?0:this.axisLine.strokeWidth()/2;v[l]=Math.max(v[l],e)}lt(this,"afterGetOffset")}getLinePath(t){let e=this.chart,i=this.opposite,s=this.offset,n=this.horiz,r=this.left+(i?this.width:0)+s,o=e.chartHeight-this.bottom-(i?this.height:0)+s;return i&&(t*=-1),e.renderer.crispLine([["M",n?this.left:r,n?o:this.top],["L",n?e.chartWidth-this.right:r,n?o:e.chartHeight-this.bottom]],t)}renderLine(){let{chart:t,offset:e=0,options:i}=this;this.axisLine||(this.axisLine=t.renderer.path().addClass("highcharts-axis-line").attr(t.styledMode?{}:{stroke:i.lineColor,"stroke-width":i.lineWidth,zIndex:7}).clip(this.clippable&&e<=0?t.plotClipOuter:void 0).add(this.axisGroup))}getTitlePosition(t){let e=this.horiz,i=this.left,s=this.top,n=this.len,r=this.options.title,o=e?i:s,a=this.opposite,l=this.offset,h=r.x,c=r.y,d=this.chart.renderer.fontMetrics(t),u=t?Math.max(t.getBBox(!1,0).height-d.h-1,0):0,p={low:o+(e?0:n),middle:o+n/2,high:o+(e?n:0)}[r.align],f=(e?s+this.height:i)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-u,u,d.f,-u][this.side],g={x:e?p+h:f+(a?this.width:0)+l+h,y:e?f+c-(a?this.height:0)+l:p+c};return lt(this,"afterGetTitlePosition",{titlePosition:g}),g}renderMinorTick(t,e){let i=this.minorTicks;i[t]||(i[t]=new pi(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)}renderTick(t,e,i){let s=this.isLinked,n=this.ticks;(!s||t>=this.min&&t<=this.max||this.grid?.isColumn)&&(n[t]||(n[t]=new pi(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))}render(){let t,e,i=this,s=i.chart,n=i.logarithmic,r=s.renderer,o=i.options,a=i.isLinked,l=i.tickPositions,h=i.axisTitle,c=i.ticks,d=i.minorTicks,u=i.alternateBands,p=o.stackLabels,f=o.alternateGridColor,g=o.crossing,m=i.tickmarkOffset,v=i.axisLine,b=i.showAxis,y=fi(r.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[c,d,u].forEach((function(t){At(t,(function(t){t.isActive=!1}))})),bt(g)){let t=this.isXAxis?s.yAxis[0]:s.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let s=t.toPixels(g,!0);i.horiz&&(s=t.len-s),i.offset=e*s}}if(i.hasData()||a){let r=i.chart.hasRendered&&i.old&&bt(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,r)})),l.length&&(l.forEach((function(t,e){i.renderTick(t,e,r)})),m&&(0===i.min||i.single)&&(c[-1]||(c[-1]=new pi(i,-1,null,!0)),c[-1].render(-1))),f&&l.forEach((function(r,o){e=void 0!==l[o+1]?l[o+1]+m:i.max-m,o%2==0&&r<i.max&&e<=i.max+(s.polar?-m:m)&&(u[r]||(u[r]=new q.PlotLineOrBand(i,{})),t=r+m,u[r].options={from:n?n.lin2log(t):t,to:n?n.lin2log(e):e,color:f,className:"highcharts-alternate-grid"},u[r].render(),u[r].isActive=!0)})),i._addedPlotLB||(i._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEac
45h((function(t){i.addPlotBandOrLine(t)})))}[c,d,u].forEach((function(t){let e=[],i=y.duration;At(t,(function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))})),Nt((function(){let i=e.length;for(;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])}),t!==u&&s.hasRendered&&i?i:0)})),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[b?"show":"hide"](b)),h&&b&&(h[h.isNew?"attr":"animate"](i.getTitlePosition(h)),h.isNew=!1),p?.enabled&&i.stacking&&i.stacking.renderStackTotals(),this.old||this.saveOld(),i.isDirty=!1,lt(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))}saveOld(){this.old=bt(this.min)?{len:this.len,max:this.max,min:this.min,names:this.names.slice(),transA:this.transA,userMax:this.userMax,userMin:this.userMin}:void 0}getKeepProps(){return this.keepProps||Si.keepProps}destroy(t){let e=this,i=e.plotLinesAndBands,s=this.eventOptions;if(lt(this,"destroy",{keepEvents:t}),t||Dt(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){it(t)})),i){let t=i.length;for(;t--;)i[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();At(e,(function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]})),this.eventOptions=s}drawCrosshair(t,e){let i,s,n,r,o=this.crosshair,a=o?.snap??!0,l=this.chart,h=this.cross;if(lt(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross?.e),o&&!1!==(et(e)||!a)){if(clearTimeout(this.crossShowTimer),a?et(e)&&(s=Mt("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):s=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),et(s)&&(r={value:e&&(this.isXAxis?e.x:Mt(e.stackY,e.y)),translatedValue:s},l.polar&&ot(r,{isCrosshair:!0,chartX:t?.chartX,chartY:t?.chartY,point:e}),i=this.getPlotLinePath(r)||null),!et(i))return void this.hideCrosshair();n=this.categories&&!this.isRadial,this.crossShowTimer=Nt((()=>{let e=this.cross;e||(this.cross=e=l.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(n?"category ":"thin ")+(o.className||"")).attr({zIndex:Mt(o.zIndex,2)}).clip(!1===o.clip?void 0:l.plotClipInner).add(),!l.styledMode&&(e.attr({stroke:o.color||(n?vi("var(--highcharts-highlight-color-20)").setOpacity(.25).get():"var(--highcharts-neutral-color-20)"),"stroke-width":Mt(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&e.attr({dashstyle:o.dashStyle}))),e.show().animate({d:i},fi(o?.animation)),n&&!o.width&&e.attr({"stroke-width":this.transA}),this.cross&&(this.cross.e=t)}),(!h||"hidden"===h.attr("visibility"))&&o.showDelay||0)}else this.hideCrosshair();lt(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){clearTimeout(this.crossShowTimer),this.cross&&this.cross.hide(),lt(this,"afterHideCrosshair")}update(t,e){let i=this.chart;t=Et(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,Mt(e,!0)&&i.redraw()}remove(t){let e=this.chart,i=this.coll,s=this.series,n=s.length;for(;n--;)s[n]&&s[n].remove(!1);rt(e.axes,this),rt(e[i]||[],this),e.orderItems(i),this.destroy(),e.isDirtyBox=!0,Mt(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}Si.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function i(){"datetime"===this.type?this.dateTime||(this.dateTime=new s(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,V(t,"afterSetType",i)),t};class s{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let i,s,n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],r=n[n.length-1],o=$t[r[0]],a=r[1];for(i=0;i<n.length;i++)if(o=$t[(r=n[i])[0]],a=r[1],n[i+1]){let e=(o*a[a.length-1]+$t[n[i+1][0]])/2;
45if(t<=e){s=e/t;break}}return o===$t.year&&t<5*o&&(a=[1,2,5]),{unitRange:o,count:Ct(t/o,a,"year"===r[0]?Math.max(dt(t/o),1):1),unitName:r[0],match:s}}getXDateFormat(t,e){let{axis:i}=this,s=i.chart.time;return i.closestPointRange?s.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||s.resolveDTLFormat(e.year).main:s.resolveDTLFormat(e.day).main}}t.Additions=s}(w||(w={}));let Ei=w;!function(t){function e(){"logarithmic"!==this.type?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new s(this))}function i(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),V(t,"afterSetType",e),V(t,"afterInit",i)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,i,s){let n=this.axis,r=n.len,o=n.options,a=[];if(s||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),a=n.getLinearTickPositions(t,e,i);else if(t>=.08){let n,r,o,l,h,c,d,u=Math.floor(e);for(n=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=u;r<i+1&&!d;r++)for(o=0,l=n.length;o<l&&!d;o++)(h=this.log2lin(this.lin2log(r)*n[o]))>e&&(!s||c<=i)&&void 0!==c&&a.push(c),c>i&&(d=!0),c=h}else{let l=this.lin2log(e),h=this.lin2log(i),c=s?n.getMinorTickInterval():o.tickInterval,d=o.tickPixelInterval/(s?5:1),u=s?r/n.tickPositions.length:r;t=Ct(t=Mt("auto"===c?null:c,this.minorAutoInterval,(h-l)*d/(u||1))),a=n.getLinearTickPositions(t,l,h).map(this.log2lin),s||(this.minorAutoInterval=t/5)}return s||(n.tickInterval=t),a}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(S||(S={}));let Ci=S;!function(t){let e;function i(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,i){let s=this.userOptions,n=new e(this,t);if(this.visible&&(n=n.render()),n){if(this._addedPlotLB||(this._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((t=>{this.addPlotBandOrLine(t)}))),i){let e=s[i]||[];e.push(t),s[i]=e}this.plotLinesAndBands.push(n)}return n}function n(t){return this.addPlotBandOrLine(t,"plotLines")}function r(t,e,i){i=i||this.options;let s,n,r=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),o=[],a=this.horiz,l=!bt(this.min)||!bt(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,h=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),c=1;if(h&&r)for(l&&(n=h.toString()===r.toString(),c=0),s=0;s<h.length;s+=2){let t=h[s],e=h[s+1],i=r[s],l=r[s+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===i[0]||"L"===i[0])&&("M"===l[0]||"L"===l[0])&&(a&&i[1]===t[1]?(i[1]+=c,l[1]+=c):a||i[2]!==t[2]||(i[2]+=c,l[2]+=c),o.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",l[1],l[2]],["L",i[1],i[2]],["Z"])),o.isFlat=n}return o}function o(t){this.removePlotBandOrLine(t)}function a(t){let e=this.plotLinesAndBands,i=this.options,s=this.userOptions;if(e){let n=e.length;for(;n--;)e[n].id===t&&e[n].destroy();[i.plotLines||[],s.plotLines||[],i.plotBands||[],s.plotBands||[]].forEach((function(e){for(n=e.length;n--;)e[n]?.id===t&&rt(e,e[n])}))}}function l(t){this.removePlotBandOrLine(t)}t.compose=function(t,h){let c=h.prototype;return c.addPlotBand||(e=t,ot(c,{addPlotBand:i,addPlotLine:n,addPlotBandOrLine:s,getPlotBandPath:r,removePlotBand:o,removePlotLine:l,removePlotBandOrLine:a})),h}}(E||(E={}));let Ai=E;class Ti{static compose(t,e){return V(t,"afterInit",(function(){this.labelCollectors.push((()=>{let t=[];for(let e of this.axes)for(let{label:i,options:s}of e.plotLinesAndBands)i&&!s?.label?.allowOverlap&&t.push(i);return t}))})),Ai.compose(Ti,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){lt(this,"render");let t,{axis:e,options:i}=this,{chart:s,horiz:n,logarithmic:r}=e,{color:o,events:a,zIndex:l=0}=i,{renderer:h,time:c}=e.chart,d={},u=c.parse(i.to),p=c.parse(i.from),f=c.parse(i.value),g=i.borderWidth,m=i.label,{label:v,svgElem:b}=this,y=[],x=et(p)&&et(u),w=et(f),S=!b,E={class:"highcharts-plot-"+(x?"band ":"line ")+(i.className||"")},C=x?"bands":"lines";if(!s.styledMode&&(w?(E.stroke=o||"var(--highcharts-neutral-color-40)",E["stroke-width"]=Mt(i.width,1),i.dashStyle&&(E.dashstyle=i.dashStyle)):x&&(E.fill=o||"var(--highcharts-highlight-color-10)",g&&(E.stroke=i.borderColor,E["stroke-width"]=g))),d.zIndex=l,C+="-"+l,(t=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=t=h.g("plot-"+C).clip(s.plotClipOuter).attr(d).add()),b||(this.svgElem=b=h.path().attr(E).add(t)),et(f))y=e.getPlotLinePath({value:r?.log2lin(f)??f,lineWidth:b.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!et(p)||!et(u))return;y=e.getPlotBandPath(r?.log2lin(p)??p,r?.log2lin(u)??u,i)}return!this.eventsAdded&&a&&(At(a,((t,e)=>{b?.on(e,(t=>{a[e].apply(this,[t,this])}
45))})),this.eventsAdded=!0),!S&&b.d||!y?.length?b&&(y?(b.show(),b.animate({d:y})):b.d&&(b.hide(),v&&(this.label=v=v.destroy()))):b.attr({d:y}),m&&(et(m.text)||et(m.formatter))&&y?.length&&e.width>0&&e.height>0&&!y.isFlat?(m=Et({align:n&&x?"center":void 0,x:n?!x&&4:10,verticalAlign:!n&&x?"middle":void 0,y:n?x?16:10:x?6:-4,rotation:n&&!x?90:0,...x?{inside:!0}:{}},m),this.renderLabel(m,y,x,l)):v&&v.hide(),this}renderLabel(t,e,i,s){let n=this.axis,r=n.chart.renderer,o=t.inside,a=this.label;a||(this.label=a=r.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:s}),n.chart.styledMode||a.css(Et({color:n.chart.options.title?.style?.color,fontSize:"0.8em",textOverflow:i&&!o?"":"ellipsis"},t.style)),a.add());let l=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],h=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],c=X(l),d=X(h),u=Y(l)-c;a.align(t,!1,{x:c,y:d,width:u,height:Y(h)-d}),a.alignAttr.y-=r.fontMetrics(a).b,(!a.alignValue||"left"===a.alignValue||et(o))&&a.css({width:(t.style?.width||(i&&o?u:90===a.rotation?n.height-(a.alignAttr.y-n.top):(t.clip?n.width+n.left:n.chart.chartWidth)-a.alignAttr.x))+"px"}),a.show(!0)}getLabelText(t){return et(t.formatter)?t.formatter.call(this,this):t.text}destroy(){rt(this.axis.plotLinesAndBands,this),delete this.axis,it(this)}}let{animObject:ki}=le,{format:Mi}=Se,{composed:Oi,dateFormats:Li,doc:_i,isSafari:Pi}=q,{distribute:Di}=Ee,Ii=t=>{clearTimeout(t.hideTimer),clearTimeout(t.showTimer)};class Bi{constructor(t,e,i){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=i}bodyFormatter(t){return t.map((t=>{let e=t.series.tooltipOptions,i=t.formatPrefix||"point";return(e[i+"Formatter"]||t.tooltipFormatter).call(t,e[i+"Format"]||"",t)}))}cleanSplit(t){this.chart.series.forEach((function(e){let i=e?.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))}defaultFormatter(t){let e,i=this.points||It(this);return(e=(e=[t.headerFooterFormatter(i[0])]).concat(t.bodyFormatter(i))).push(t.headerFooterFormatter(i[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),st(this.container)),gt(this.hideTimer),Ii(this)}getAnchor(t,e){let i,{chart:s,pointer:n}=this,r=s.inverted,o=s.plotTop,a=s.plotLeft;if((t=It(t))[0].series?.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=n.normalize(e)),i=[e.chartX-a,e.chartY-o];else if(t[0].tooltipPos)i=t[0].tooltipPos;else{let s=0,n=0;t.forEach((function(t){let e=t.pos(!0);e&&(s+=e[0],n+=e[1])})),s/=t.length,n/=t.length,this.shared&&t.length>1&&e&&(r?s=e.chartX:n=e.chartY),i=[s-a,n-o]}let l={point:t[0],ret:i};return lt(this,"getAnchor",l),l.ret.map(Math.round)}getClassName(t,e,i){let s=this.options,n=t.series,r=n.options;return[s.className,"highcharts-label",i&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!i&&"highcharts-color-"+Mt(t.colorIndex,n.colorIndex),r?.className].filter(yt).join(" ")}getLabel({anchorX:t,anchorY:e}={anchorX:0,anchorY:0}){let i=this,s=this.chart.styledMode,n=this.options,r=this.split&&this.allowShared,o=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!r&&t||r&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart,e=t.options.chart.style;this.container=o=q.doc.createElement("div"),o.className="highcharts-container highcharts-tooltip-container "+(t.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\s?/gm)||""),o.dataset.highchartsChart=t.index.toString(),tt(o,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(n.style.zIndex||0,(e?.zIndex||0)+3)}),this.renderer=a=new ri(o,0,0,e,void 0,void 0,a.styledMode)}if(r?this.label=a.g("tooltip"):(this.label=a.label("",t,e,n.shape||"callout",void 0,void 0,n.useHTML,void 0,"tooltip").attr({padding:n.padding,r:n.borderRadius}),s||this.label.attr({fill:n.backgroundColor,"stroke-width":n.borderWidth??+!n.fixed}).css(n.style).css({pointerEvents:n.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),i.outside){let t=this.label;
vendor: 2,092 bytes, line 45
45[t.xSetter,t.ySetter].forEach(((e,s)=>{t[s?"ySetter":"xSetter"]=n=>{e.call(t,i.distance),t[s?"y":"x"]=n,o&&(o.style[s?"top":"left"]=`${n}px`)}}))}this.label.attr({zIndex:8}).shadow(n.shadow??!n.fixed).add()}return o&&!o.parentElement&&q.doc.body.appendChild(o),this.label}getPlayingField(){let{body:t,documentElement:e}=_i,{chart:i,distance:s,outside:n}=this;return{width:n?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*s-2:i.chartWidth,height:n?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):i.chartHeight}}getPosition(t,e,i){let s,{distance:n,chart:r,outside:o,pointer:a}=this,{inverted:l,plotLeft:h,plotTop:c,polar:d}=r,{plotX:u=0,plotY:p=0}=i,f={},g=l&&i.h||0,{height:m,width:v}=this.getPlayingField(),b=a.getChartPosition(),y=i=>{let s="x"===i;return[i,s?v:m,s?t:e].concat(o?[s?t*b.scaleX:e*b.scaleY,s?b.left-n+(u+h)*b.scaleX:b.top-n+(p+c)*b.scaleY,0,s?v:m]:[s?t:e,s?u+h:p+c,s?h:c,s?h+r.plotWidth:c+r.plotHeight])},x=y("y"),w=y("x"),S=!!i.negative;!d&&r.hoverSeries?.yAxis?.reversed&&(S=!S);let E=!this.followPointer&&Mt(i.ttBelow,!d&&!l===S),C=function(t,e,i,s,r,a,l){let h=o?"y"===t?n*b.scaleY:n*b.scaleX:n,c=(i-s)/2,d=s<r-n,u=r+n+s<e,p=r-h-i+c,m=r+h-c;if(E&&u)f[t]=m;else if(!E&&d)f[t]=p;else if(d)f[t]=Math.min(l-s,p-g<0?p:p-g);else{if(!u)return f[t]=0,!1;f[t]=Math.max(a,m+g+i>e?m:m+g)}},A=function(t,e,i,s,r){if(r<n||r>e-n)return!1;f[t]=r<i/2?1:r>e-s/2?e-s-2:r-i/2},T=function(t){[x,w]=[w,x],s=t},k=()=>{!1!==C.apply(0,x)?!1!==A.apply(0,w)||s||(T(!0),k()):s?f.x=f.y=0:(T(!0),k())};return(l&&!d||this.len>1)&&T(),k(),o&&(f.x-=b.left,f.y-=b.top),f}getFixedPosition(t,e,i){let s=i.series,{chart:n,options:r,split:o}=this,a=r.position,l=a.relativeTo,h=r.shared||s?.yAxis?.isRadial&&("pane"===l||!l)?"plotBox":l,c="chart"===h?n.renderer:n[h]||n.getClipBox(s,!0);return{x:c.x+(c.width-t)*ht(a.align)+a.x,y:c.y+(c.height-e)*ht(a.verticalAlign)+(!o&&a.y||0)}}hide(t){let e=this;Ii(this),t=Mt(t,this.options.hideDelay),this.isHidden||(this.hideTimer=Nt((function(){let i=e.getLabel();e.getLabel().animate({opacity:0}
vendor: 4,106 bytes, line 45
45,{duration:t?150:t,complete:()=>{i.hide(),e.container&&e.container.remove()}}),e.isHidden=!0}),t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=Mt(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,i,s){let{followPointer:n,options:r}=this,o=ki(!n&&!this.isHidden&&!r.fixed&&r.animation),a={x:t,y:e};n||(this.len||0)>1?a.anchorX=a.anchorY=NaN:(a.anchorX=i,a.anchorY=s),o.step=()=>this.drawTracker(),this.getLabel().animate(a,o)}refresh(t,e){let i=this,{chart:s,options:n,pointer:r,shared:o}=this,a=It(t),l=a[0],h=n.format,c=n.formatter||i.defaultFormatter,d=s.styledMode,u=i.allowShared;if(!n.enabled||!l.series)return;Ii(this),i.allowShared=!(!xt(t)&&t.series&&t.series.noSharedTooltip),u=u&&!i.allowShared,i.followPointer=!i.split&&l.series.tooltipOptions.followPointer;let p=i.getAnchor(t,e),f=p[0],g=p[1];o&&i.allowShared&&(r.applyInactiveState(a),a.forEach((t=>t.setState("hover"))),l.points=a),this.len=a.length;let m=yt(h)?Mi(h,l,s):c.call(l,i,l);l.points=void 0;let v=l.series;this.distance=Mt(v.tooltipOptions.distance,16),!1===m?this.hide():this.showTimer=Nt((()=>{if(i.split&&i.allowShared)i.renderSplit(m,a);else{let t=f,o=g;if(e&&r.isDirectTouch&&(t=e.chartX-s.plotLeft,o=e.chartY-s.plotTop),!s.polar&&!1!==v.options.clip&&!a.some((e=>r.isDirectTouch||e.series.shouldShowTooltip(t,o))))return void i.hide();{let t=i.getLabel(u&&i.tt||{});(!n.style.width||d)&&t.css({width:(this.outside?this.getPlayingField():s.spacingBox).width-2*n.padding+"px"}),t.attr({class:i.getClassName(l),text:xt(m)?m.join(""):m}),this.outside&&t.attr({x:K(t.x||0,0,this.getPlayingField().width-(t.width||0)-1)}),d||t.attr({stroke:n.borderColor||l.color||v.color||"var(--highcharts-neutral-color-60)"}),i.updatePosition({plotX:f,plotY:g,negative:l.negative,ttBelow:l.ttBelow,series:v,h:p[2]||0})}}i.isHidden&&i.label&&i.label.attr({opacity:1}).show(),i.isHidden=!1}),i.isHidden&&n.showDelay||0),lt(this,"refresh")}renderSplit(t,e){let i=this,{chart:s,chart:{chartWidth:n,chartHeight:r,plotHeight:o,plotLeft:a,plotTop:l,scrollablePixelsY:h=0,scrollablePixelsX:c,styledMode:d},distance:u,options:p,options:{fixed:f,position:g,positioner:m},pointer:v}=i,{scrollLeft:b=0,scrollTop:y=0}=s.scrollablePlotArea?.scrollingContainer||{},x=i.outside&&"number"!=typeof c?_i.documentElement.getBoundingClientRect():{left:b,right:b+n,top:y,bottom:y+r},w=i.getLabel(),S=this.renderer||s.renderer,E=!!s.xAxis[0]?.opposite,{left:C,top:A}=v.getChartPosition(),T=m||f,k=l+y,M=0,O=o-h,L=function(t,e,s,n,r=[0,0],o=!0){let a,l;if(s.isHeader)l=E?0:O,a=K(r[0]-t/2,x.left,x.right-t-(i.outside?C:0));else if(f&&s){let n=i.getFixedPosition(t,e,s);a=n.x,l=n.y-k}else l=r[1]-k,a=K(a=o?r[0]-t-u:r[0]+u,o?a:x.left,x.right);return{x:a,y:l}};yt(t)&&(t=[!1,t]);let _=t.slice(0,e.length+1).reduce((function(t,s,n){if(!1!==s&&""!==s){let r=e[n-1]||{isHeader:!0,plotX:e[0].plotX,plotY:o,series:{}},h=r.isHeader,c=h?i:r.series,g=c.tt=function(t,e,s){let n=t,{isHeader:r,series:o}=e,a=o.tooltipOptions||p,l=r?Et(a,a.header):a;if(!n){let t={padding:a.padding,r:a.borderRadius};d||(t.fill=l.backgroundColor,t["stroke-width"]=l.borderWidth??+!a.fixed),n=S.label("",0,0,l.shape||(f&&!r?"rect":"callout"),void 0,void 0,a.useHTML).addClass(i.getClassName(e,!0,r)).attr(t).add(w)}return n.isActive=!0,d||n.css(l.style),n.attr({text:s}),d||n.attr({stroke:l.borderColor||e.color||o.color||"var(--highcharts-neutral-color-80)"}),n}(c.tt,r,s.toString()),v=g.getBBox(),b=v.width+g.strokeWidth();h&&(M=v.height+p.header.distance,O+=M,E&&(k-=M));let{anchorX:y,anchorY:C}=function(t){let e,i,{isHeader:s,plotX:n=0,plotY:r=0,series:h}=t;if(s)e=Math.max(a+n,a),i=l+o/2;else{let{xAxis:t,yAxis:s}=h;e=t.pos+K(n,-u,t.len+u),h.shouldShowTooltip(0,s.pos-l+r,{ignoreX:!0})&&(i=s.pos+r)}return{anchorX:e=K(e,x.left-u,x.right+u),anchorY:i}}(r);if("number"==typeof C){let e=v.height+1,s=(m||L).call(i,b,e,r,i,[y,
45C]);t.push({align:T?0:void 0,anchorX:y,anchorY:C,boxWidth:b,point:r,rank:Mt(s.rank,+!!h),size:e,target:s.y,tt:g,x:s.x})}else g.isActive=!1}return t}),[]);!T&&_.some((t=>{let{outside:e}=i,s=(e?C:0)+t.anchorX;return s<x.left&&s+t.boxWidth<x.right||s<C-x.left+t.boxWidth&&x.right-s>s}))&&(_=_.map((t=>{let{x:e,y:i}=L.call(this,t.boxWidth,t.size,t.point,void 0,[t.anchorX,t.anchorY],!1);return ot(t,{target:i,x:e})}))),i.cleanSplit(),Di(_,O);let P={left:C,right:C};_.forEach((function(t){let{x:e,boxWidth:s,isHeader:n}=t;!n&&(i.outside&&C+e<P.left&&(P.left=C+e),i.outside&&P.left+s>P.right&&(P.right=C+e))})),_.forEach((function(t){let{x:e,anchorX:s,anchorY:n,pos:r,point:{isHeader:o}}=t,a={visibility:void 0===r?"hidden":"inherit",x:e,y:(r||0)+k+(f&&g.y||0),anchorX:s,anchorY:n};if(i.outside&&e<s){let t=C-P.left;t>0&&(a.x=o?(P.right-P.left)/2:e+t,a.anchorX=s+t)}t.tt.attr(a)}));let{container:D,outside:I,renderer:B}=i;if(I&&D&&B){let{width:t,height:e,x:i,y:s}=w.getBBox();B.setSize(t+i,e+s,!1),D.style.left=P.left+"px",D.style.top=A+"px"}Pi&&w.attr({opacity:1===w.opacity?.999:1})}drawTracker(){let t=this;if(!this.shouldStickOnContact())return void(t.tracker&&(t.tracker=t.tracker.destroy()));let e=t.chart,i=t.label,s=t.shared?e.hoverPoints:e.hoverPoint;if(!i||!s)return;let n={x:0,y:0,width:0,height:0},r=this.getAnchor(s),o=i.getBBox();r[0]+=e.plotLeft-(i.translateX||0),r[1]+=e.plotTop-(i.translateY||0),n.x=Math.min(0,r[0]),n.y=Math.min(0,r[1]),n.width=r[0]<0?Math.max(Math.abs(r[0]),o.width-r[0]):Math.max(Math.abs(r[0]),o.width),n.height=r[1]<0?Math.max(Math.abs(r[1]),o.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),o.height),t.tracker?t.tracker.attr(n):(t.tracker=i.renderer.rect(n).addClass("highcharts-tracker").add(i),V(t.tracker.element,"mouseenter",(()=>Ii(t))),e.styledMode||t.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}headerFooterFormatter(t,e){let i=t.series,s=i.tooltipOptions,n=i.xAxis?.dateTime,r={isFooter:e,point:t},o=s.xDateFormat||"",a=s[e?"footerFormat":"headerFormat"];return lt(this,"headerFormatter",r,(function(e){if(n&&!o&&bt(t.key)&&(o=n.getXDateFormat(t.key,s.dateTimeLabelFormats)),n&&o){if(St(o)){let t=o;Li[0]=e=>i.chart.time.dateFormat(t,e),o="%0"}
vendor: 4,817 bytes, line 45
45(t.tooltipDateKeys||["key"]).forEach((t=>{a=a.replace(RegExp("point\\."+t+"([ \\)}])"),`(point.${t}:${o})$1`)}))}i.chart.styledMode&&(a=this.styledModeFormat(a)),e.text=Mi(a,t,this.chart)})),r.text||""}update(t){this.destroy(),this.init(this.chart,Et(!0,this.options,t))}updatePosition(t){let e,{chart:i,container:s,distance:n,options:r,pointer:o,renderer:a}=this,{height:l=0,width:h=0}=this.getLabel(),{fixed:c,positioner:d}=r,{left:u,top:p,scaleX:f,scaleY:g}=o.getChartPosition(),m=(d||c&&this.getFixedPosition||this.getPosition).call(this,h,l,t,this),v=q.doc,b=(t.plotX||0)+i.plotLeft,y=(t.plotY||0)+i.plotTop;if(a&&s){if(m.x+=u,m.y+=p,d||c){let{scrollLeft:t=0,scrollTop:e=0}=i.scrollablePlotArea?.scrollingContainer||{};m.x+=t,m.y+=e}e=(r.borderWidth??+!c)+2*n+2,a.setSize(K(h+e,0,v.documentElement.clientWidth)-1,l+e,!1),(1!==f||1!==g)&&(tt(s,{transform:`scale(${f}, ${g})`}),b*=f,y*=g),b+=u-m.x,y+=p-m.y}this.move(Math.round(m.x),Math.round(m.y||0),b,y)}}(d=Bi||(Bi={})).compose=function(t){Lt(Oi,"Core.Tooltip")&&V(t,"afterInit",(function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new d(t,t.options.tooltip,this))}))};let Ni=Bi,{animObject:zi}=le,{defaultOptions:Ri}=Qt,{format:Fi}=Se;class Hi{constructor(t,e,i){this.formatPrefix="point",this.visible=!0,this.point=this,this.series=t,this.applyOptions(e,i),this.id??(this.id=jt()),this.resolveColor(),this.dataLabelOnNull??(this.dataLabelOnNull=t.options.nullInteraction),t.chart.pointCount++,this.category=t.xAxis?.categories?.[this.x]??this.x,this.key=this.name??this.category,lt(this,"afterInit")}applyOptions(t,e,i){let s=this.series,n=s.options.pointValKey||s.pointValKey;return ot(this,t=Hi.prototype.optionsToObject.call(this,t)),this.options?this.options=s.chart.options.chart.allowMutatingData?ot(this.options,t):Et(this.options,t):this.options=t,n&&(this.y=Hi.prototype.getNestedProperty.call(this,n)),bt(e)&&(this.x=e),i||(this.selected&&(this.state="select"),t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point"),this}getOrigin({x:t=0,y:e=0},i={}){let{graphic:s,series:n}=this;if(n.chart.inverted&&s?.parentGroup&&!s?.parentGroup?.rotation){let i=this.pos(!1,t,e);i&&(t=i[0],e=i[1])}t-=(i.width||0)/2,e-=(i.height||0)/2;let r={x:t};return n.is("column")||this.plotHigh||(r.y=e),r}destroy(){if(!this.condemned){let t=this,e=t.series,i=e.chart,s=i.hoverPoints,{duration:n}=zi(t.series.chart.renderer.globalAnimation),r=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(Dt(t),t.destroyElements()),t)delete t[e]};t.legendItem&&i.legend.destroyItem(t),s&&(t.setState(),rt(s,t),s.length||(i.hoverPoints=void 0)),t===i.hoverPoint&&t.onMouseOut(),n&&e.condemnedPoints?(e.condemnedPoints.push(this),this.graphic?.addClass("highcharts-point-condemned"),setTimeout(r,n)):r(),i.pointCount--}this.condemned=!0}destroyElements(t={graphic:1,dataLabel:1}){let e,i,s=this,n=[];for(t.graphic&&n.push("graphic","connector"),t.dataLabel&&n.push("dataLabel","dataLabelPath","dataLabelUpper"),i=n.length;i--;)s[e=n[i]]&&(s[e]=s[e].destroy());["graphic","dataLabel"].forEach((e=>{let i=`${e}s`;t[e]&&s[i]&&(s[i].forEach((t=>{t?.element&&t.destroy()})),delete s[i])}))}firePointEvent(t,e,i){let s=this,n=this.series.options;s.manageEvent(t),"click"===t&&n.allowPointSelect&&(i=function(t){!s.condemned&&s.select&&s.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),lt(s,t,e,i)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative&&!1!==this.series.options.negativeColor?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone?.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getNestedProperty(t){if(t)return 0===t.indexOf("custom.")?ut(t,this.options):this[t]}getZone(){let t,e=this.series,i=e.zones,s=e.zoneAxis||"y",n=0;for(t=i[0];this[s]>=t.value;)t=i[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),t?.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}isValid(){return(bt(this.x)||this.x instanceof Date)&&bt(this.y)}optionsToObject(t){let e,i=this.series,s=i.options.keys,n=s||i.pointArrayMap||["y"],r=n.length,o={},a=0,l=0;if(bt(t)||null===t)o[n[0]]=t;else if(xt(t))for(!s&&t.length>r&&("string"==(e=typeof t[0])?i.xAxis?.dateTime?o.x=i.chart.time.parse(t[0]):o[i.tupleKey||"name"]=t[0]:"number"===e&&(o.x=t[0]),a++);l<r;)s&&void 0===t[a]||(o[n[l]]=t[a]),a++,l++;else"object"==typeof t&&(o=t,t.dataLabels&&(i.hasDataLabels=()=>!0),t.marker&&(i._hasPointMarkers=!0));
45return(s||!i.options.data)&&Object.keys(o).forEach((t=>{t.indexOf(".")>0&&(Hi.prototype.setNestedProperty(o,o[t],t),delete o[t])})),o}pos(t,e=this.plotX,i=this.plotY){let{series:s}=this,{chart:n,xAxis:r,yAxis:o}=s||{},a=0,l=0;if(n&&bt(e)&&bt(i))return t&&(a=r?r.pos:n.plotLeft,l=o?o.pos:n.plotTop),n.inverted&&r&&o?[o.len-i+l,r.len-e+a]:[e+a,i+l]}resolveColor(){let t,e,{options:i,series:s}=this,n=s.chart,r=n.options.chart,o=n.styledMode,a=r.colorCount;if(delete this.nonZonedColor,s.options.colorByPoint){if(!o){let e=s.options.colors||n.options.colors;t=e?.[s.colorCounter],a=e?.length}e=s.colorCounter,s.colorCounter++,s.colorCounter===a&&(s.colorCounter=0)}else o||(t=s.color),e=s.colorIndex;this.colorIndex=i.colorIndex??e,this.color=i.color??t}setNestedProperty(t,e,i){return i.split(".").reduce((function(t,i,s,n){let r=n.length-1===s;return t[i]=r?e:St(t[i],!0)?t[i]:{},t[i]}),t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let{chart:e,pointArrayMap:i=["y"],tooltipOptions:s}=this.series,{valueDecimals:n="",valuePrefix:r="",valueSuffix:o=""}=s;return e.styledMode&&(t=e.tooltip?.styledModeFormat(t)||t),i.forEach((e=>{e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),Fi(t,this,e)}update(t,e=!0,i,s){let n=this,r=n.series,o=n.graphic,a=r.chart,l=r.options,h=l.data;function c(){n.applyOptions(t);let s=o&&n.hasMockGraphic,c=n.index,d=null===n.y?!s:s;o&&d&&(n.graphic=o.destroy(),delete n.hasMockGraphic),St(t,!0)&&(o?.element&&t?.marker&&void 0!==t.marker.symbol&&(n.graphic=o.destroy()),t?.dataLabels&&n.dataLabel&&(n.dataLabel=n.dataLabel.destroy()));let u=n.optionsToObject(t);!r.hasProcessedDataTable&&(r.dataTable.setRow(u,c),h&&(h[c]=St(h[c],!0)||St(t,!0)?n.options:t??h[c])),r.isDirty=r.isDirtyData=!0,"x"in u&&(yt(u.x)&&(r.xColumnIsNumbers=void 0),n.x=r.getX(u.x),n.isNull=n.isValid&&!n.isValid(),r.xColumn&&(r.xColumn[c]=n.x)),!r.fixedBox&&r.hasCartesianSeries&&(a.isDirtyBox=!0),"point"===l.legendType&&(a.isDirtyLegend=!0),e&&a.redraw(i)}!1===s?c():n.firePointEvent("update",{options:t},c)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let i=this,s=i.series,n=s.chart;t=Mt(t,!i.selected),this.selectedStaging=t,i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,s.options.data&&(s.options.data[s.data.indexOf(i)]=i.options),i.setState(t&&"select"),e||n.getSelectedPoints().forEac
45h((function(t){let e=t.series,s=e.options;t.selected&&t!==i&&(t.selected=t.options.selected=!1,s.data&&(s.data[e.data.indexOf(t)]=t.options),t.setState(n.hoverPoints&&s.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:i}=this.series.chart;i&&(t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e),i.runPointActions(t,this))}onMouseOut(){if(!this.series)return;let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}manageEvent(t){let e=Et(this.series.options.point,this.options).events?.[t];!wt(e)||this.hcEvents?.[t]&&-1!==this.hcEvents?.[t]?.map((t=>t.fn)).indexOf(e)?this.importedUserEvent&&!e&&this.hcEvents?.[t]&&this.hcEvents?.[t].userEvent&&(Dt(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||delete this.importedUserEvent):(this.importedUserEvent?.(),this.importedUserEvent=V(this,t,e),this.hcEvents&&(this.hcEvents[t].userEvent=!0))}setState(t,e){let i,s,n,r,o=this.series,a=this.state,l=o.options.states[t||"normal"]||{},h=Ri.plotOptions[o.type].marker&&o.options.marker,c=h&&!1===h.enabled,d=h?.states?.[t||"normal"]||{},u=!1===d.enabled,p=this.marker||{},f=o.chart,g=h&&o.markerAttribs,m=o.halo,v=o.stateMarkerGraphic;if((t=t||"")===this.state&&!e||this.selected&&"select"!==t||!1===l.enabled||t&&(u||c&&!1===d.enabled)||t&&p.states&&p.states[t]&&!1===p.states[t].enabled)return;if(this.state=t,g&&(i=o.markerAttribs(this,t)),this.graphic&&!this.hasMockGraphic){if(a&&this.graphic.removeClass("highcharts-point-"+a),t&&this.graphic.addClass("highcharts-point-"+t),!f.styledMode){s=o.pointAttribs(this,t),n=Mt(f.options.chart.animation,l.animation);let e=s.opacity;o.options.inactiveOtherPoints&&bt(e)&&(this.dataLabels||[]).forEach((function(t){t&&!t.hasClass("highcharts-data-label-hidden")&&(t.animate({opacity:e},n),t.connector&&t.connector.animate({opacity:e},n))})),this.graphic.animate(s,n)}i&&this.graphic.animate(i,Mt(f.options.chart.animation,d.animation,h.animation)),v&&v.hide()}else t&&d&&(r=p.symbol||o.symbol,v&&v.currentSymbol!==r&&(v=v.destroy()),i&&(v?v[e?"animate":"attr"]({x:i.x,y:i.y}):r&&(o.stateMarkerGraphic=v=f.renderer.symbol(r,i.x,i.y,i.width,i.height,Et(h,d)).add(o.markerGroup),v.currentSymbol=r)),!f.styledMode&&v&&"inactive"!==this.state&&v.attr(o.pointAttribs(this,t))),v&&(v[t&&this.isInside?"show":"hide"](),v.element.point=this,v.addClass(this.getClassName(),!0));let b=l.halo,y=this.graphic||v,x=y?.visibility||"inherit";b?.size&&y&&"hidden"!==x&&!this.isCluster?(m||(o.halo=m=f.renderer.path().add(y.parentGroup)),m.show()[e?"animate":"attr"]({d:this.haloPath(b.size)}),m.attr({class:"highcharts-halo highcharts-color-"+Mt(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:x,zIndex:-1}),m.point=this,f.styledMode||m.attr(ot({fill:this.color||o.color,"fill-opacity":b.opacity},fe.filterUserAttributes(b.attributes||{})))):m?.point?.haloPath&&!m.point.destroyed&&m.animate({d:m.point.haloPath(0)},null,m.hide),lt(this,"afterSetState",{state:t})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(J(e[0],1)-t,e[1]-t,2*t,2*t):[]}}let Wi=Hi,{charts:qi,composed:$i,isTouchDevice:ji}=q,Gi=(t,e)=>!et(e)||t[`${e}Key`];class Vi{applyInactiveState(t=[]){let e=[];for(let i of(t.forEach((t=>{let i=t.series;e.push(i),i.linkedParent&&e.push(i.linkedParent),i.linkedSeries&&e.push.apply(e,i.linkedSeries),i.navigatorSeries&&e.push(i.navigatorSeries),i.boosted&&i.markerGroup&&e.push.apply(e,this.chart.series.filter((t=>t.markerGroup===i.markerGroup)))})),this.chart.series)){let t=i.options;!1!==t.states?.inactive?.enabled&&(-1===e.indexOf(i)?i.setState("inactive",!0):t.inactiveOtherPoints&&i.setAllPointsToState("inactive"))}}destroy(){let t=this;this.eventsToUnbind.forEach((t=>t())),this.eventsToUnbind=[],!q.chartCount&&(Vi.unbindDocumentMouseUp.forEach((t=>t.unbind())),Vi.unbindDocumentMouseUp.length=0,Vi.unbindDocumentTouchEnd&&(Vi.unbindDocumentTouchEnd=Vi.unbindDocumentTouchEnd())),At(t,(function(e,i){t[i]=void 0}))}getSelectionMarkerAttrs(t,e){let i={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return lt(this,"getSelectionMarkerAttrs",i,(i=>{let s,{chart:n,zoomHor:r,zoomVert:o}=this,{mouseDownX:a=0,mouseDownY:l=0}=n,h=i.attrs;h.x=n.plotLeft,h.y=n.plotTop,h.width=r?1:n.plotWidth,h.height=o?1:n.plotHeight,r&&(h.width=Math.max(1,Math.abs(s=t-a)),h.x=(s>0?0:s)+a),o&&(h.height=Math.max(1,Math.abs(s=e-l)),h.y=(s>0?0:s)+l)})),i}drag(t){let e,{chart:i}
vendor: 4,683 bytes, line 45
45=this,{mouseDownX:s=0,mouseDownY:n=0}=i,{panning:r,panKey:o,selectionMarkerFill:a}=i.options.chart,l=i.plotLeft,h=i.plotTop,c=i.plotWidth,d=i.plotHeight,u=St(r)?r.enabled:r,p=o&&t[`${o}Key`],f=t.chartX,g=t.chartY,m=this.selectionMarker;if((!m||!m.touch)&&(f<l?f=l:f>l+c&&(f=l+c),g<h?g=h:g>h+d&&(g=h+d),this.hasDragged=Math.sqrt(Math.pow(s-f,2)+Math.pow(n-g,2)),this.hasDragged>10)){e=i.isInsidePlot(s-l,n-h,{visiblePlotOnly:!0});let{shapeType:c,attrs:d}=this.getSelectionMarkerAttrs(f,g);this.hasZoom&&e&&!p&&!m&&(this.selectionMarker=m=i.renderer[c](),m.attr({class:"highcharts-selection-marker",zIndex:7}).add(),i.styledMode||m.attr({fill:a})),m&&m.attr(d),e&&!m&&u&&Gi(t,o)&&i.pan(t,r)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return lt(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:i,selectionMarker:s}=this;for(let t of i.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some((t=>t.boosted)))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&i.redraw(),s&&t){if(this.hasDragged){let e=this.getSelectionBox(s);i.transform({axes:i.axes.filter((t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY))),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}bt(i.index)&&(this.selectionMarker=s.destroy())}i&&bt(i.index)&&(tt(i.container,{cursor:i._cursor}),i.cancelClick=this.hasDragged>10,i.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[],this.hasPinchMoved=!1)}findNearestKDPoint(t,e,i){let s;return t.forEach((function(t){var n;let r,o,a,l=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),h=t.searchPoint(i,l);St(h,!0)&&h.series&&(!St(s,!0)||(r=(n=s).distX-h.distX,o=n.dist-h.dist,a=h.series.group?.zIndex-n.series.group?.zIndex,(0!==r&&e?r:0!==o?o:0!==a?a:n.series.index>h.series.index?-1:1)>0))&&(s=h)})),s}getChartCoordinatesFromPoint(t,e){let{xAxis:i,yAxis:s}=t.series,n=t.shapeArgs;if(i&&s){let r=t.clientX??t.plotX??0,o=t.plotY||0;return t.isNode&&n&&bt(n.x)&&bt(n.y)&&(r=n.x,o=n.y),e?{chartX:s.len+s.pos-o,chartY:i.len+i.pos-r}:{chartX:r+i.pos,chartY:o+s.pos}}if(n?.x&&n.y)return{chartX:n.x,chartY:n.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=Tt(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:i,offsetWidth:s}=t;return s>2&&i>2&&(this.chartPosition.scaleX=e.width/s,this.chartPosition.scaleY=e.height/i),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let i of this.chart.axes)e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,i,s,n,r){let o,a=[],l=function(t){return t.visible&&!(!n&&t.directTouch)&&Mt(t.options.enableMouseTracking,!0)},h=e,c={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:n};lt(this,"beforeGetHoverData",c),o=h&&!h.stickyTracking?[h]:i.filter((t=>t.stickyTracking&&(c.filter||l)(t)));let d=s&&t||!r?t:this.findNearestKDPoint(o,n,r);return h=d?.series,d&&(n&&!h.noSharedTooltip?(o=i.filter((function(t){return c.filter?c.filter(t):l(t)&&!t.noSharedTooltip}))).forEach((function(t){let e=t.options?.nullInteraction,i=ft(t.points,(function(t){return!(t.x!==d.x||t.isNull&&!e)}));St(i)&&(t.boosted&&t.boost&&(i=t.boost.getPoint(i)),a.push(i))})):a.push(d)),lt(this,"afterGetHoverData",c={hoverPoint:d}),{hoverPoint:c.hoverPoint,hoverSeries:h,hoverPoints:a}}getPointFromEvent(t){let e,i=t.target;for(;i&&!e;)e=i.point,i=i.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,i=t.relatedTarget,s=e.hoverSeries;this.isDirectTouch=!1,!s||!i||s.stickyTracking||this.inClass(i,"highcharts-tooltip")||this.inClass(i,"highcharts-series-"+s.index)&&this.inClass(i,"highcharts-tracker")||s.onMouseOut()}inClass(t,e){let i,s=t;for(;s;){if(i=U(s,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}s=s.parentElement}}constructor(t,e){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!!e.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),lt(this,"afterInit")}normalize(t,e){let i=t.touches,s=i?i.length?i.item(0):Mt(i.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let n=s.pageX-e.left,r=s.pageY-e.top;return ot(t,{chartX:Math.round(n/=e.scaleX),chartY:Math.round(r/=e.scaleY)})}onContainerClick(t){let e=this.chart,i=e.hoverPoint,s=this.normalize(t),n=e.plotLeft,r=e.plotTop;!e.cancelClick&&(i&&this.inClass(s.target,"highcharts-tracker")?(lt(i.series,"click",ot(s,{point:i}
45)),e.hoverPoint&&i.firePointEvent("click",s)):(ot(s,this.getCoordinates(s)),e.isInsidePlot(s.chartX-n,s.chartY-r,{visiblePlotOnly:!0})&&lt(e,"click",s)))}onContainerMouseDown(t){let e=1==(1&(t.buttons||t.button));t=this.normalize(t),q.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||e)&&(this.zoomOption(t),e&&t.preventDefault?.(),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=qi[Mt(Vi.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,i=e.tooltip,s=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(s))&&this.drag(s),!e.exporting?.openMenu&&(this.inClass(s.target,"highcharts-tracker")||e.isInsidePlot(s.chartX-e.plotLeft,s.chartY-e.plotTop,{visiblePlotOnly:!0}))&&!i?.shouldStickOnContact(s)&&(this.inClass(s.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(s))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,i=e.tooltip,s=this.chartPosition,n=this.normalize(t,s);!s||e.isInsidePlot(n.chartX-e.plotLeft,n.chartY-e.plotTop,{visiblePlotOnly:!0})||i?.shouldStickOnContact(n)||n.target!==e.container.ownerDocument&&this.inClass(n.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){t?.touches&&this.hasPinchMoved&&t?.preventDefault?.(),qi[Mt(Vi.hoverChartIndex,-1)]?.pointer?.drop(t)}pinch(t){let e=this,{chart:i,hasZoom:s,lastTouches:n}=e,r=[].map.call(t.touches||[],(t=>e.normalize(t))),o=r.length,a=1===o&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),l=1===o&&(i.tooltip?.options.followTouchMove??!0);o>1?e.initiated=!0:l&&(e.initiated=!1),s&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=r,e.res=!0,i.mouseDownX=t.chartX):l?this.runPointActions(e.normalize(t)):n&&(lt(i,"touchpan",{originalEvent:t,touches:r},(()=>{let e=t=>{let e=t[0],i=t[1]||e;return{x:e.chartX,y:e.chartY,width:i.chartX-e.chartX,height:i.chartY-e.chartY}};i.transform({axes:i.axes.filter((t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz))),to:e(r),from:e(n),trigger:t.type})})),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=r}reset(t,e){let i=this.chart,s=i.hoverSeries,n=i.hoverPoint,r=i.hoverPoints,o=i.tooltip,a=o?.shared?r:n;t&&a&&It(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?o&&a&&It(a).length&&(o.refresh(a),o.shared&&r?r.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):n&&(n.setState(n.state,!0),i.axes.forEach((function(t){t.crosshair&&n.series[t.coll]===t&&t.drawCrosshair(null,n)})))):(n&&n.onMouseOut(),r&&r.forEach((function(t){t.setState()})),s&&s.onMouseOut(),o&&o.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),i.hoverPoints=i.hoverPoint=void 0)}runPointActions(t,e,i){let s=this.chart,n=s.series,r=s.tooltip?.options.enabled?s.tooltip:void 0,o=!!r&&r.shared,a=e||s.hoverPoint,l=a?.series||s.hoverSeries,h=(!t||"touchmove"!==t.type)&&(!!e||l?.directTouch&&this.isDirectTouch),c=this.getHoverData(a,l,n,h,o,t);a=c.hoverPoint,l=c.hoverSeries;let d=c.hoverPoints,u=l?.tooltipOptions.followPointer&&!l.tooltipOptions.split,p=o&&l&&!l.noSharedTooltip;if(a&&(i||a!==s.hoverPoint||r?.isHidden)){if((s.hoverPoints||[]).forEach((function(t){-1===d.indexOf(t)&&t.setState()})),s.hoverSeries!==l&&l.onMouseOver(),this.applyInactiveState(d),(d||[]).forEach((function(t){t.setState("hover")})),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!a.series)return;s.hoverPoints=d,s.hoverPoint=a,a.firePointEvent("mouseOver",void 0,(()=>{r&&a&&r.refresh(p?d:a,t)}))}else if(u&&r&&!r.isHidden){let e=r.getAnchor([{}],t);s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=V(s.container.ownerDocument,"mousemove",(t=>qi[Vi.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(t))),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEac
45h((function(e){let i,n=e.crosshair?.snap??!0;n&&((i=s.hoverPoint)&&i.series[e.coll]===e||(i=ft(d,(t=>t.series?.[e.coll]===e)))),i||!n?e.drawCrosshair(t,i):e.hideCrosshair()}))}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument,i=t=>t.parentElement||t.getRootNode()?.host?.parentElement;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(V(t,"mouseenter",this.onContainerMouseEnter.bind(this)),V(t,"mouseleave",this.onContainerMouseLeave.bind(this))),Vi.unbindDocumentMouseUp.some((t=>t.doc===e))||Vi.unbindDocumentMouseUp.push({doc:e,unbind:V(e,"mouseup",this.onDocumentMouseUp.bind(this))});let s=i(this.chart.renderTo);for(;s&&"BODY"!==s.tagName;)this.eventsToUnbind.push(V(s,"scroll",(()=>{delete this.chartPosition}))),s=i(s);this.eventsToUnbind.push(V(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),V(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),Vi.unbindDocumentTouchEnd||(Vi.unbindDocumentTouchEnd=V(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),V(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!ji)return;let t=this.pointerCaptureEventsToUnbind,e=this.chart,i=e.container,s=(e.options.tooltip?.followTouchMove??!0)&&e.series.some((t=>t.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&s?(t.push(V(i,"pointerdown",(t=>{t.target?.hasPointerCapture(t.pointerId)&&t.target?.releasePointerCapture(t.pointerId)})),V(i,"pointermove",(t=>{e.pointer?.getPointFromEvent(t)?.onMouseOver(t)}))),this.hasPointerCapture=!0):this.hasPointerCapture&&!s&&(t.forEach((t=>t())),t.length=0,this.hasPointerCapture=!1)}setHoverChartIndex(t){let e=this.chart,i=q.charts[Mt(Vi.hoverChartIndex,-1)];if(i&&i!==e){let s={relatedTarget:e.container};t&&!t?.relatedTarget&&Object.assign({},t,s),i.pointer?.onContainerMouseLeave(t||s)}i?.mouseIsDown||(Vi.hoverChartIndex=e.index)}touch(t,e){let i,s,{chart:n,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(t=this.normalize(t)).touches.length?((s=n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0}))&&!n.exporting?.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(this.hasPinchMoved=i=!!r[0]&&Math.pow(r[0].chartX-t.chartX,2)+Math.pow(r[0].chartY-t.chartY,2)>=16),Mt(i,!0)&&this.pinch(t)):e&&this.reset(),(n.tooltip?.options.followTouchMove??1)&&s&&t.preventDefault()):2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,i,s=this.chart,n=s.inverted,r=s.zooming.type||"";/touch/.test(t.type)&&(r=Mt(s.zooming.pinchType,r)),this.zoomX=e=/x/.test(r),this.zoomY=i=/y/.test(r),this.zoomHor=e&&!n||i&&n,this.zoomVert=i&&!n||e&&n,this.hasZoom=(e||i)&&Gi(t,s.zooming.key)}}Vi.unbindDocumentMouseUp=[],(u=Vi||(Vi={})).compose=function(t){Lt($i,"Core.Pointer")&&V(t,"beforeRender",(function(){this.pointer=new u(this,this.options)}))};let Xi=Vi,{setLength:Yi,splice:Ui}={convertToNumber:function(t,e){switch(typeof t){case"boolean":return+!!t;case"number":return isNaN(t)&&!e?null:t;default:return isNaN(t=parseFloat(`${t??""}`))&&!e?null:t}},setLength:function(t,e,i){return Array.isArray(t)?(t.length=e,t):t[i?"subarray":"slice"](0,e)},splice:function(t,e,i,s,n=[]){if(Array.isArray(t))return Array.isArray(n)||(n=Array.from(n)),{removed:t.splice(e,i,...n),array:t};let r=Object.getPrototypeOf(t).constructor,o=t[s?"subarray":"slice"](e,e+i),a=new r(t.length-i+n.length);return a.set(t.subarray(0,e),0),a.set(n,e),a.set(t.subarray(e+i),e+n.length),{removed:o,array:a}}},Ki=class{constructor(t={}){this.isDataTable=!0,this.autoId=!t.id,this.columns={},this.id=t.id||jt(),this.rowCount=0,this.versionTag=jt();let e=0;At(t.columns||{},((t,i)=>{this.columns[i]=t.slice(),e=Math.max(e,t.length)})),this.applyRowCount(e)}applyRowCount(t){this.rowCount=t,At(this.columns,((e,i)=>{e.length!==t&&(this.columns[i]=Yi(e,t))}))}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let i=0;At(this.columns,((s,n)=>{this.columns[n]=Ui(s,t,e).array,i=s.length})),this.rowCount=i}lt(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=jt()}getColumn(t,e){return this.columns[t]}getColumns(t,e){return(t||Object.keys(this.columns)).reduce(((t,e)=>(t[e]=this.columns[e],t)),{})}getRowObject(t,e){let i={},s=this.columns;for(let n of(e??(e=Object.keys(this.columns)),e))i[n]=s[n]?.[t];return i}setColumn(t,e=[],i=0,s){this.setColumns({[t]:e},i,s)}setColumns(t,e,i){let s=this.rowCount;At(t,((t,e)=>{this.columns[e]=t.slice(),s=t.length})),this.applyRowCount(s),i?.silent||(lt(this,"afterSetColumns"),this.versionTag=jt())}setRow(t,e=this.rowCount,i,s){var n;
vendor: 3,132 bytes, line 45
45let{columns:r}=this,o=i?this.rowCount+1:e+1,a=Object.keys(t);if(!1!==s?.addColumns)for(let t=0,e=a.length;t<e;t++)r[n=a[t]]||(r[n]=Array(this.rowCount));At(r,((s,n)=>{s&&(i?s=Ui(s,e,0,!0,[t[n]]).array:s[e]=n in t?t[n]:s[e],r[n]=s)})),this.applyRowCount(Math.max(o,this.rowCount)),s?.silent||(lt(this,"afterSetRows",{rowIndex:e}),this.versionTag=jt())}getModified(){return this.modified||this}};var Zi=C||(C={});function Qi(t,e,i){let s,n=this.legendItem=this.legendItem||{},{chart:r,options:o}=this,{baseline:a=0,symbolWidth:l,symbolHeight:h}=t,c=this.symbol||"circle",d=h/2,u=r.renderer,p=n.group,f=a-Math.round((t.fontMetrics?.b||h)*(i?.4:.3)),g={},m=o.marker,v=0;if(r.styledMode||(g["stroke-width"]=Math.min(o.lineWidth||0,24),o.dashStyle?g.dashstyle=o.dashStyle:"square"!==o.linecap&&(g["stroke-linecap"]="round")),n.line=u.path().addClass("highcharts-graph").attr(g).add(p),i&&(n.area=u.path().addClass("highcharts-area").add(p)),g["stroke-linecap"]&&(v=Math.min(n.line.strokeWidth(),l)/2),l){let t=[["M",v,f],["L",l-v,f]];n.line.attr({d:t}),n.area?.attr({d:[...t,["L",l-v,a],["L",v,a]]})}if(m&&!1!==m.enabled&&l){let t=Math.min(Mt(m.radius,d),d);0===c.indexOf("url")&&(m=Et(m,{width:h,height:h}),t=0),n.symbol=s=u.symbol(c,l/2-t,f-t,2*t,2*t,ot({context:"legend"},m)).addClass("highcharts-point").add(p),s.isMarker=!0}}Zi.areaMarker=function(t,e){Qi.call(this,t,e,!0)},Zi.lineMarker=Qi;let Ji=C,{defaultOptions:ts}=Qt;var es=A||(A={});function is(t,e){let i=ts.plotOptions||{},s=e.defaultOptions,n=e.prototype;return n.type=t,n.pointClass||(n.pointClass=Wi),!es.seriesTypes[t]&&(s&&(i[t]=s),es.seriesTypes[t]=e,!0)}es.seriesTypes=q.seriesTypes,es.registerSeriesType=is,es.seriesType=function(t,e,i,s,n){let r=ts.plotOptions||{};if(e=e||"",r[t]=Et(r[e],i),delete es.seriesTypes[t],is(t,at(es.seriesTypes[e]||q.Series,s)),es.seriesTypes[t].prototype.type=t,n){class e extends Wi{}ot(e.prototype,n),es.seriesTypes[t].prototype.pointClass=e}return es.seriesTypes[t]};let ss=A,{animObject:ns,setAnimation:rs}=le,{defaultOptions:os}=Qt,{registerEventOptions:as}=di,{svg:ls,win:hs}=q,{seriesTypes:cs}=ss,{format:ds}=Se;class us{constructor(){this.zoneAxis="y"}init(t,e){let i;lt(this,"init",{options:e});let s=t.series;this.eventsToUnbind=[],this.condemnedPoints||(this.condemnedPoints=[]),this.chart=t,this.options=this.setOptions(e);let n=this.options,r=!1!==n.visible;this.dataTable??(this.dataTable=n.dataTable?.isDataTable?n.dataTable:new Ki(n.dataTable)),this.linkedSeries=[],this.bindAxes(),ot(this,{name:n.name,state:"",visible:r,selected:!0===n.selected}),as(this,n),(n.events?.click||n.point?.events?.click||n.allowPointSelect)&&(t.runTrackerClick=!0),this.getColor(),this.getSymbol(),this.isCartesian&&(t.hasCartesianSeries=!0),s.length&&(i=s[s.length-1]),this._i=Mt(i?._i,-1)+1,this.opacity=this.options.opacity,t.orderItems("series",qt(this,s)),this.points||this.data||this.setData(n.data,!1),lt(this,"afterInit")}is(t){return cs[t]&&this instanceof cs[t]}bindAxes(){let t,e=this,i=e.options,s=e.chart;lt(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(n){(s[n]||[]).forEach((function(s){t=s.options,
vendor: 4,458 bytes, line 45
45(Mt(i[n],0)===s.index||void 0!==i[n]&&i[n]===t.id)&&(qt(e,s.series),e[n]=s,s.isDirty=!0)})),e[n]||e.optionalAxis===n||Wt(18,!0,s)}))})),lt(this,"afterBindAxes")}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.dataTable.rowCount>0}hasMarkerChanged(t,e){let i=t.marker,s=e.marker||{};return i&&(s.enabled&&!i.enabled||s.symbol!==i.symbol||s.height!==i.height||s.width!==i.width)}autoIncrement(t){let e,i=this.options,{pointIntervalUnit:s,relativeXValue:n}=this.options,r=this.chart.time,o=this.xIncrement??r.parse(i.pointStart)??0;if(this.pointInterval=e=Mt(this.pointInterval,i.pointInterval,1),n&&bt(t)&&(e*=t),s){let t=r.toParts(o);"day"===s?t[2]+=e:"month"===s?t[1]+=e:"year"===s&&(t[0]+=e),e=r.makeTime.apply(r,t)-o}return n&&bt(t)?o+e:(this.xIncrement=o+e,o)}setOptions(t){let e,i=this.chart,s=i.options.plotOptions,n=i.userOptions||{},r=Et(t),o=i.styledMode,a={plotOptions:s,userOptions:r};lt(this,"setOptions",a);let l=a.plotOptions[this.type],h=n.plotOptions||{},c=h.series||{},d=os.plotOptions[this.type]||{},u=h[this.type]||{};l.dataLabels=this.mergeArrays(d.dataLabels,l.dataLabels),this.userOptions=a.userOptions;let p=Et(l,s.series,u,r),{negativeColor:f,negativeFillColor:g,zoneAxis:m="y",zones:v}=p,b=(v||[]).map((t=>({...t})));return this.tooltipOptions=Et(os.tooltip,os.plotOptions.series?.tooltip,d?.tooltip,i.userOptions.tooltip,h.series?.tooltip,u.tooltip,r.tooltip),this.stickyTracking=Mt(r.stickyTracking,u.stickyTracking,c.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||p.stickyTracking),null===l.marker&&delete p.marker,this.zones||(this.zones=b),this.zoneAxis=m,(f||g)&&!v&&(e={value:p[m+"Threshold"]||p.threshold||0,className:"highcharts-negative"},o||("boolean"!=typeof f&&(e.color=f),e.fillColor=g),b.push(e)),b.length&&et(b[b.length-1].value)&&b.push(o?{}:{color:this.color,fillColor:this.fillColor}),lt(this,"afterSetOptions",{options:p}),p}getName(){let{chart:t,options:e}=this,{dataMapping:i,name:s}=e,n=i?.y||i?.value,r=yt(n)?n:n?.column;return s??(yt(r)?r:ds(t.options.lang.seriesName,this,t))}getCyclic(t,e,i){let s,n,r=this.chart,o=`${t}Index`,a=`${t}Counter`,l=i?.length||r.options.chart.colorCount;!e&&(et(n=Mt("color"===t?this.options.colorIndex:void 0,this[o]))?s=n:(r.series.length||(r[a]=0),s=r[a]%l,r[a]+=1),i&&(e=i[s])),void 0!==s&&(this[o]=s),this[t]=e}getColor(){let t=this.chart;t.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="var(--highcharts-neutral-color-20)":this.getCyclic("color",this.options.color||os.plotOptions[this.type]?.color,t.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}getColumn(t,e,i){let s=e?this.dataTable.getModified():this.dataTable,n=s.rowCount,r=this.dataTable!==s,o=s.getColumn(t,!0);if("x"===t&&!r){if(this.xColumn)return this.xColumn;let t=s.getColumn("name",!0),e=this.options,i=t=>{if(void 0!==this.xColumnIsNumbers)return this.xColumnIsNumbers;for(let e of t)if("number"!=typeof e)return this.xColumnIsNumbers=!1;return this.xColumnIsNumbers=!0};if(this.xIncrement=null,!o||this.xAxis?.hasNames||e.relativeXValue||o.length<(e.turboThreshold||1/0)&&!this.boosted&&!i(o)){let e=[];for(let i=0;i<n;i++){let s=o?.[i];et(s)||(this.xIncrement??(this.xIncrement=e[e.length-1]??null)),e.push(this.getX(s,t?.[i]))}return this.xColumn=e}}return o||Array(i?n:0)}getX(t,e){return this.xAxis?.hasNames&&this.dataTable.getColumn("name",!0)&&et(e)?this.xAxis.nameToX({name:e,series:this},t):void 0===t||bt(t)&&this.options.relativeXValue?this.autoIncrement(t):("string"==typeof t&&bt(t=this.chart.time.parse(t)),t)}matchPoints(t,e,i,s){let n,r,o,{dataTable:a,options:l,requireSorting:h}=this,c=l.dataSorting,d=this.data,u=[],p=[],f=a.rowCount===d.length,g=0,m=!0;this.xIncrement=null,delete this.xColumn;let v=a.getColumn("x"),b=a.getColumn("id"),y=c?.matchByName?a.getColumn("name"):void 0,x=a.getColumn("index");for(r=0;r<a.rowCount;r++){let o=v?.[r],l=b?.[r],m=y?.[r],w=x?.[r],[S,E]=l&&e?[l,e]:m&&i?[m,i]:et(w)&&s?[w,s]:et(o)&&t?[o,t]:[],C=-1;if(E){if(-1===(C=E.indexOf(S,g))){let e=v?.[r],i=t?.length??a.rowCount;for(;i&&t&&"number"==typeof e&&t[i-1]>e;)i--;u.push({newIndex:i,oldIndex:r})}else d[C]&&(p.push({newIndex:C,oldIndex:r}),d[C].touched=!0,h&&(g=C+1));(!f||r!==C||c?.enabled||this.hasDerivedData)&&(n=!0)}else u.push({newIndex:r,oldIndex:r})}
45if(n){for(p.forEach((t=>{d[t.newIndex].applyOptions(a.getRowObject(t.oldIndex))})),u.sort(((t,e)=>e.newIndex-t.newIndex)),u.forEach((t=>{d.splice(t.newIndex,0,void 0)})),r=d.length;r--;)(o=d[r])&&!o.touched&&(o.destroy(),d.splice(r,1));this.isDirtyData=this.isDirty=!0}else if(f&&!c?.enabled){for(r=0;r<a.rowCount;r++)if(!d[r].destroyed&&!d[r].condemned){let t=a.getRowObject(r);t&&(Object.keys(t).forEach((e=>{et(t[e])||delete t[e]})),Object.keys(t).length&&d[r].update(t,!1,void 0,!1))}}else m=!1;if(d.forEach((t=>{t&&(t.touched=!1)})),!m)return!1;let w=this.getColumn("x");return null===this.xIncrement&&w.length&&(this.xIncrement=Y(w),this.autoIncrement()),!0}getDataColumnKeys(){return this.dataColumnKeys||["x",...this.pointArrayMap||["y"]]}setData(t,e=!0,i,s){let n,r,o,a=this.dataTable,l=this.options,h=this.points,c=h?.length||0,d=a.getColumn("x"),u=a.getColumn("id"),p=l.dataSorting?.matchByName&&h?.map((t=>t.name))||a.getColumn("name"),f=a.getColumn("index"),g=this.chart,m=this.xAxis;if(g.options.chart.allowMutatingData||(l.data&&delete this.options.data,this.userOptions.data&&delete this.userOptions.data,o=Et(!0,t)),t=o||t,this.xIncrement=null,delete this.xColumn,delete this.xColumnIsNumbers,a!==l.dataTable&&delete a.columns.x,this.colorCounter=0,xt(t)?this.setDataFromArray(t):this.setDataFromTable(t),!1===s||!c||this.cropped||this.hasGroupedData||!this.visible||this.boosted||(n=this.matchPoints(d,u,p,f)),!n){for(yt(this.getColumn("y")[0])&&Wt(14,!0,g),this.data=[],r=c;r--;)h[r]?.destroy();m&&(m.minRange=m.userMinRange),this.isDirty=g.isDirtyBox=!0,this.isDirtyData=!!h,i=!1}xt(t)&&(this.options.data=this.userOptions.data=t),"point"===l.legendType&&(this.processData(),this.generatePoints()),e&&g.redraw(i)}setDataFromArray(t){let e=t.length,{keys:i,turboThreshold:s}=this.options,{pointValKey:n="y",pointArrayMap:r=[]}=this,o=r.length,a=this.dataTable,l=this.getDataColumnKeys(),h=s&&e>s,c=0,d=1;if(h){let s=this.getFirstValidPoint(t),u=this.getFirstValidPoint(t,e-1,-1),p=t=>!(!xt(t)||!i&&!bt(t[0]));if(bt(s)&&bt(u))a.setColumn(n,t);else if(p(s)&&p(u))if(o){let e=s.length===o,i=Array(s.length).fill(0).map((()=>[]));for(let e of t)for(let t=0;t<=o;t++)i[t]?.push(e[t]);a.setColumns((e?r:l).reduce(((t,e,s)=>(t[e]=i[s],t)),{}))}else{i&&(c=i.indexOf("x"),d=i.indexOf("y"),c=c>=0?c:0,d=d>=0?d:1),1===s.length&&(d=0);let e=[],r=[];if(c===d){for(let e of t)r.push(e[d]);a.setColumn(n,r)}else{for(let i of t)e.push(i[c]),r.push(i[d]);a.setColumns({x:e,[n]:r})}}else h=!1}if(!h){let i={};for(let s=0;s<e;s++){let n=this.pointClass.prototype.optionsToObject.call({series:this},t[s]);for(let t of Object.keys(n))i[t]||(i[t]=Array(e)),i[t][s]=n[t]}e?a.setColumns(i):a.deleteRows(0,a.rowCount)}}setDataFromTable(t){let{chart:e,options:i,dataTable:s}=this,n=e.getDataTable(i),r=t?[t]:n.length?n:e.dataTable,o=this.getDataColumnKeys(),a=i.dataMapping,l=o.slice();a&&(Object.keys(a).forEach((t=>{Lt(l,t)})),this.dataColumnKeys=l),r.forEach(((t,e)=>{let i=l.reduce(((i,s)=>{let n=a?.[s],r=t.columns||{},o=t.id,l=yt(n)?0===e&&r[n]:((n?.dataTable||0)===e||o&&n?.dataTable===o)&&(bt(n?.column)?Object.values(r)[n.column]:r[n?.column||s]);return l&&(i[s]=l),i}),{});(a||t)&&s.setColumns(i),t.isDataTable&&this.bindDataTableEvents(t,i)}))}bindDataTableEvents(t,e){if(this.hasBoundDataTableEvents)return;let{chart:i,eventsToUnbind:s}=this,n=()=>{clearTimeout(i.redrawTimeout),i.redrawTimeout=setTimeout((()=>i.renderer&&i.redraw()),0)};s.push(V(t,"afterSetRows",(t=>{let i=t.rowIndex;if(bt(i)){let t=Ki.prototype.getRowObject.call({columns:e},i),s=this.data[i];t&&(this.currentDataGrouping?this.setData():(s?s.update(t,!1):this.addPoint(t,!1),n()))}}))),s.push(V(t,"afterDeleteRows",(t=>{let{rowCount:e,rowIndex:i}=t;if(bt(i)){for(let t=i+e-1;t>=i;t--)this.removePoint(t,!1);n()}}))),s.push(V(t,"afterSetColumns",(t=>{this.setData(t.target)}))),this.hasBoundDataTableEvents=!0}getProcessedData(t){let e,i,s,n,r,o=this,{dataTable:a,isCartesian:l,options:h,xAxis:c}=o,d=h.cropThreshold,u=t||o.getExtremesFromAll,p=c?.logarithmic,f=a.rowCount,g=0,m=o.getColumn("x"),v=a,b=!1;return c&&(n=(s=c.getExtremes()).min,r=s.max,b=!(!c.categories||c.names.length),l&&o.sorted&&!u&&(!d||f>d||o.forceCrop)&&(m[f-1]<n||m[0]>r?v=new Ki:o.getColumn(o.pointValKey||"y").length&&(m[0]<n||m[f-1]>r)&&(v=(e=this.cropData(a,n,r)).modified,g=e.start,i=!0))),m=this.getColumn("x",!0),{modified:v,cropped:i,cropStart:g,closestPointRange:ct([p?m.map(p.log2lin):m],(()=>o.requireSorting&&!b&&Wt(15,!1,o.chart)))}}processData(t){let e=this.xAxis,i=this.dataTable;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let s=this.getProcessedData();i.modified=s.modified,this.cropped=s.cropped,this.cropStart=s.cropStart,this.closestPointRange=this.basePointRange=s.closestPointRange,lt(this,"afterProcessData")}
vendor: 4,146 bytes, line 45
45cropData(t,e,i){let s,n,r=t===this.dataTable?this.getColumn("x"):t.getColumn("x",!0),o=r.length,a=0,l=o;for(s=0;s<o;s++)if(r[s]>=e){a=Math.max(0,s-1);break}for(n=s;n<o;n++)if(r[n]>i){l=n+1;break}let h=Object.keys(t.columns).reduce(((e,i)=>(e[i]=(t.getColumn(i,!0)||[]).slice(a,l),e)),{});return h.x=r.slice(a,l),{modified:new Ki({columns:h}),start:a,end:l}}generatePoints(){let t,e,i,s,n,r=this.options,o=this.hasProcessedDataTable?void 0:r.data,a=this.dataTable.getModified(),l=this.getColumn("x",!0),h=this.pointClass,c=a.rowCount,d=this.cropStart||0,u=this.hasGroupedData,p=r.keys,f=[],g=r.dataGrouping?.groupAll?d:0,m=this.getDataColumnKeys(),v=this.data;if(!v&&!u){let t=[];t.length=o?.length||0,v=this.data=t}for(p&&u&&(this.options.keys=!1),s=0;s<c;s++)e=d+s,u?((i=new h(this,a.getRowObject(s,m))).dataGroup=this.groupMap?.[g+s],i.dataGroup?.options&&(i.options=i.dataGroup.options,ot(i,i.dataGroup.options),delete i.dataLabels,i.key=i.name??i.category)):(i=v[e],n=o?o[e]:a.getRowObject(s),i||void 0===n?i&&(i.category=this.xAxis?.categories?.[i.x]??i.x,i.key=i.name??i.category):v[e]=i=new h(this,n,l[s])),i&&(i.index=u?g+s:e,f[s]=i);if(this.options.keys=p,v&&(c!==(t=v.length)||u))for(s=0;s<t;s++)s!==d||u||(s+=c),v[s]&&(v[s].destroyElements(),v[s].plotX=void 0);this.data=v,this.points=f,lt(this,"afterGeneratePoints")}getXExtremes(t){return{min:X(t),max:Y(t)}}getExtremes(t,e){let i,s,n,{xAxis:r,yAxis:o}=this,a=e||this.getExtremesFromAll||this.options.getExtremesFromAll,l=a&&this.cropped?this.dataTable:this.dataTable.getModified(),h=l.rowCount,c=t||this.stackedYData,d=c?[c]:(this.keysAffectYAxis||this.pointArrayMap||["y"])?.map((t=>l.getColumn(t,!0)||[]))||[],u=this.getColumn("x",!0),p=[],f=this.requireSorting&&!this.is("column")?1:0,g=!!o&&o.positiveValuesOnly,m=a||this.cropped||!r,v=0,b=0;for(r&&(v=(i=r.getExtremes()).min,b=i.max),n=0;n<h;n++)if(s=u[n],m||(u[n+f]||s)>=v&&(u[n-f]||s)<=b)for(let t of d){let e=t[n];bt(e)&&(e>0||!g)&&p.push(e)}let y={activeYData:p,dataMin:X(p),dataMax:Y(p)};return lt(this,"afterGetExtremes",{dataExtremes:y}),y}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t,e=0,i=1){let s=t.length,n=e;for(;n>=0&&n<s;){if(et(t[n]))return t[n];n+=i}}translate(){this.generatePoints();let t,e,i,s,{options:n,xAxis:r,yAxis:o}=this,{stacking:a,threshold:l}=n,{hasRendered:h,polar:c}=this.chart,d=this.points.concat(this.condemnedPoints),u=d.length,p=this.pointPlacementToXValue(),f=!!p,g=n.startFromThreshold?l:0,m=n?.nullInteraction&&o.len,v=Number.MAX_VALUE;function b(t){return K(t,-1e9,1e9)}let y=(t,e)=>{let i=r.translate(t,!1,!1,e,!0,p);return bt(i)?Z(b(i)):void 0},x=(t,e,i)=>{if(bt(t)&&void 0!==e.plotX){let e=o.translate(t,!1,!0,i,!0);return bt(e)?b(e):void 0}if(!bt(t)&&m)return m};for(t=0;t<u;t++){let n,u,m=d[t],w=m.x,S=m.y,E=m.low,C=a&&o.stacking?.stacks[(this.negStacks&&S<(g?0:l)?"-":"")+this.stackKey];m.plotX=e=y(w),a&&this.visible&&C&&C[w]&&(s=this.getStackIndicator(s,w,this.index),!m.isNull&&s.key&&(u=(n=C[w]).points[s.key]),n&&xt(u)&&(E=u[0],S=u[1],E===g&&s.key===C[w].base&&(E=Mt(bt(l)?l:o.min)),o.positiveValuesOnly&&et(E)&&E<=0&&(E=void 0),m.total=m.stackTotal=Mt(n.total),m.percentage=et(m.y)&&n.total?m.y/n.total*100:void 0,m.stackY=S,this.irregularWidths||n.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),m.yBottom=et(E)?b(o.translate(E,!1,!0,!1,!0)):void 0,this.dataModify&&(S=this.dataModify.modifyValue(S,t)),m.plotY=x(S,m),m.origin=!h||m.graphic||c?void 0:{x:y(w,!0),y:x(S,m,!0)},m.isInside=this.isPointInside(m),m.clientX=f?Z(r.translate(w,!1,!1,!1,!0,p)):e,m.negative=(m.y||0)<(l||0),!m.isNull&&!1!==m.visible&&bt(e)&&(bt(i)&&(v=Math.min(v,Math.abs(e-i))),i=e),m.zone=this.zones.length?m.getZone():void 0}this.closestPointRangePx=v,lt(this,"afterTranslate")}getValidPoints(t,e,i){let s=this.chart;return(t||this.points||[]).filter((function(t){let{plotX:n,plotY:r}=t;return!(!i&&(t.isNull||!bt(r))||e&&!s.isInsidePlot(n,r,{inverted:s.inverted})||!1===t.visible)}))}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedCl
45ipKey}setClip(){let{chart:t,group:e,markerGroup:i,options:s,plotClipGroup:n}=this,r=t.sharedClips,o=t.renderer,a=t.getClipBox(this),l=s.clip??!0,h=this.getSharedClipKey(),c=r[h];c?c.animate(a):r[h]=c=o.clipRect(a),e?.clip(l?c:void 0),i?.clip(),n?.clip(l&&this.yAxis.clippable?t.plotClipInner:void 0)}animate(t){let{chart:e,group:i,markerGroup:s}=this,n=e.inverted,r=ns(this.options.animation),o=[this.getSharedClipKey(),r.duration,r.easing,r.defer].join(","),a=e.sharedClips[o],l=e.sharedClips[o+"m"];if(t&&i){let t=e.getClipBox(this);if(a)a.attr("height",t.height);else{t.width=0,n&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[o]=a;let i={x:-99,y:-99,width:n?e.plotWidth+199:99,height:n?99:e.plotHeight+199};l=e.renderer.clipRect(i),e.sharedClips[o+"m"]=l}i.clip(a),s?.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=e.getClipBox(this),i=r.step;(s?.element.childNodes.length||e.series.length>1)&&(r.step=function(t,e){i&&i.apply(e,arguments),"width"===e.prop&&l?.element&&l.attr(n?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,r)}}afterAnimate(){this.setClip(),At(this.chart.sharedClips,((t,e,i)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete i[e])})),this.finishedAnimating=!0,lt(this,"afterAnimate")}drawPoints(t){let e,i,s,n,r,o,a;t||(t=this.points.concat(this.condemnedPoints));let l=this.chart,h=l.styledMode,{colorAxis:c,options:d}=this,u=d.marker,p=d.nullInteraction,f=this[this.specialGroup||"markerGroup"],g=this.xAxis,m=Mt(u.enabled,!g||!!g.isRadial||null,this.closestPointRangePx>=u.enabledThreshold*u.radius);if(!1!==u.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++){n=(s=(i=t[e]).graphic)?"animate":"attr",r=i.marker||{},o=!!i.marker;let d=i.isNull;if(!(m&&!et(r.enabled)||r.enabled)||d&&!p||!1===i.visible)s&&(i.graphic=s.destroy());else{let t=Mt(r.symbol,this.symbol,"rect");a=this.markerAttribs(i,i.selected&&"select");let e=!1!==i.isInside;if(!s&&e&&((a.width||0)>0||i.hasImage)&&(i.graphic=s=l.renderer.symbol(t,a.x,a.y,a.width,a.height,o?r:u).add(f),i.origin)){let t=i.getOrigin(i.origin,a);h||(t.opacity=0),s.attr(t),n="animate"}if(s){"animate"===n&&s?.animate(a);let t=this.pointAttribs(i,h||!i.selected?void 0:"select");h?c&&s.css({fill:t.fill}):s[n](t),s.addClass(i.getClassName(),!0)}}}}markerAttribs(t,e){let i,s,n=this.options,r=n.marker,o=t.marker||{},a=o.symbol||r.symbol,l={},h=Mt(o.radius,r?.radius);e&&(i=r?.states?.[e],s=o.states?.[e],h=Mt(s?.radius,i?.radius,h&&h+(i?.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(h=0);let c=t.pos();return bt(h)&&c&&(n.crisp&&(c[0]=J(c[0],t.hasImage?0:"rect"===a?r?.lineWidth||0:1)),l.x=c[0]-h,l.y=c[1]-h),h&&(l.width=l.height=2*h),l}pointAttribs(t,e){let i,s,n,r,o=this.options,a=o.marker,l=t?.options,h=l?.marker||{},c=l?.color,d=t?.color,u=t?.zone?.color,p=this.color,f=Mt(h.lineWidth,a.lineWidth),g=t?.isNull&&o.nullInteraction?0:1;return p=c||u||d||p,n=h.fillColor||a.fillColor||p,r=h.lineColor||a.lineColor||p,e=e||"normal",i=a.states[e]||{},f=Mt((s=h.states&&h.states[e]||{}).lineWidth,i.lineWidth,f+Mt(s.lineWidthPlus,i.lineWidthPlus,0)),n=s.fillColor||i.fillColor||n,r=s.lineColor||i.lineColor||r,g=Mt(s.opacity,i.opacity,g),{stroke:r,"stroke-width":f,fill:n,opacity:t?.condemned||!1===t?.isInside?0:g}}destroy(t){let e,i,s=this,n=s.chart,r=/AppleWebKit\/533/.test(hs.navigator.userAgent),o=s.data||[];for(lt(s,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(s.axisTypes||[]).forEach((function(t){i=s[t],i?.series&&(rt(i.series,s),i.isDirty=i.forceRedraw=!0)})),s.legendItem&&s.chart.legend.destroyItem(s),e=o.length;e--;)o[e]?.destroy?.();for(let t of s.zones||[])it(t,void 0,!0);gt(s.animationTimeout),At(s,(function(t,e){t instanceof Ie&&!t.survive&&t[r&&"group"===e?"hide":"destroy"]()})),n.hoverSeries===s&&(n.hoverSeries=void 0),rt(n.series,s),n.orderItems("series"),At(s,(function(e,i){t&&"hcEvents"===i||delete s[i]}))}applyZones(){let{area:t,chart:e,graph:i,zones:s,points:n,xAxis:r,yAxis:o,zoneAxis:a}=this,{inverted:l,renderer:h}=e,c=this[`${a}Axis`],{isXAxis:d,len:u=0,minPointOffset:p=0}=c||{},f=(i?.strokeWidth()||0)/2+1,g=(t,e=0,i=0)=>{l&&(i=u-i);let{translated:s=0,lineClip:n,value:r}=t,o=i-s;n?.push(["L",e,Math.abs(o)<f?i-f*(o<0||0===o&&et(r)?-1:1):s])};if(s.length&&(i||t)&&c&&bt(c.min)){let e=c.getExtremes().max+p,f=t=>{t.forEach(((e,i)=>{("M"===e[0]||"L"===e[0])&&(t[i]=[e[0],d?u-e[1]:e[1],d?e[2]:u-e[2]])}))};if(s.forEach((t=>{t.lineClip=[],t.translated=K(c.toPixels(Mt(t.value,e),!0)||0,0,u)})),i&&!this.showLine&&i.hide(),t&&t.hide(),"y"===a&&n.length<r.len)for(let t of n){let{plotX:e,plotY:i,zone:n}=t,r=n&&s[s.indexOf(n)-1];n&&g(n,e,i),r&&g(r,e,i)}let m=[],v=c.toPixels(c.getExtremes().min-p,!0);
vendor: 4,820 bytes, line 45
45s.forEach((e=>{let s=e.lineClip||[],n=Math.round(e.translated||0);r.reversed&&s.reverse();let{clip:a,simpleClip:c}=e,u=0,p=0,g=r.len,b=o.len;d?(u=n,g=v):(p=n,b=v);let y=[["M",u,p],["L",g,p],["L",g,b],["L",u,b],["Z"]],x=[y[0],...s,y[1],y[2],...m,y[3],y[4]];m=s.reverse(),v=n,l&&(f(x),t&&f(y)),a?(a.animate({d:x}),c?.animate({d:y})):(a=e.clip=h.path(x),t&&(c=e.simpleClip=h.path(y))),i&&e.graph?.clip(a),t&&e.area?.clip(c)}))}else this.visible&&(i&&i.show(),t&&t.show())}plotGroup(t,e,i,s,n){let r=this[t],o=!r,a={visibility:i,zIndex:s||.1};return et(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),r||(this[t]=r=this.chart.renderer.g().add(n)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(et(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(a)[o?"attr":"animate"](this.getPlotBox(e)),r}getPlotBox(t){let e=this.xAxis,i=this.yAxis,s=this.chart,n=s.inverted&&!s.polar&&e&&this.invertible&&"series"===t;s.inverted&&(e=i,i=this.xAxis);let r={scale:1,translateX:e?e.left:s.plotLeft,translateY:i?i.top:s.plotTop,name:t};lt(this,"getPlotBox",r);let{scale:o,translateX:a,translateY:l}=r;return{translateX:a,translateY:l,rotation:90*!!n,rotationOriginX:n?o*(e.len-i.len)/2:0,rotationOriginY:n?o*(e.len+i.len)/2:0,scaleX:n?-o:o,scaleY:o}}removeEvents(t){let{eventsToUnbind:e}=this;t||Dt(this),e.length&&(e.forEach((t=>{t()})),e.length=0)}render(){let t=this,{chart:e,options:i,hasRendered:s}=t,n=ns(i.animation),r=t.visible?"inherit":"hidden",o=i.zIndex,a=e.seriesGroup,l=t.finishedAnimating?0:n.duration;lt(this,"render"),e.plotClipInner&&(t.plotClipGroup||(t.plotClipGroup=e.renderer.g().add(a))),t.plotGroup("group","series",r,o,t.plotClipGroup||a),t.markerGroup=t.plotGroup("markerGroup","markers",r,o,a),!1!==i.clip&&t.setClip(),l&&t.animate?.(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels?.(),t.redrawPoints?.(),i.enableMouseTracking&&t.drawTracker?.(),l&&t.animate?.(),s||(l&&n.defer&&(l+=n.defer),t.animationTimeout=Nt((()=>{t.afterAnimate()}),l||0)),t.isDirty=!1,t.hasRendered=!0,lt(t,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree,this.condemnedPoints.length=0}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:i,yAxis:s}=this,n=this.chart.inverted;return this.searchKDTree({clientX:n?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:n?s.len-t.chartX+s.pos:t.chartY-s.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,i=e.options,s=i.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,Nt((function(){e.kdTree=function t(i,s,n){let r,o,a=i?.length;if(a)return r=e.kdAxisArray[s%n],i.sort(((t,e)=>(t[r]||0)-(e[r]||0))),{point:i[o=Math.floor(a/2)],left:t(i.slice(0,o),s+1,n),right:t(i.slice(o+1),s+1,n)}}(e.getValidPoints(void 0,!e.directTouch,i?.nullInteraction),s,s),e.buildingKdTree=!1}),i.kdNow||"touchstart"===t?.type?0:1)}searchKDTree(t,e,i,s,n){let r=this,[o,a]=this.kdAxisArray,l=e?"distX":"dist",h=(r.options.findNearestPointBy||"").indexOf("y")>-1?2:1,c=!!r.isBubble,d=s||((t,e,i)=>{let s=t[i]||0,n=e[i]||0;return[s===n&&t.index>e.index||s<n?t:e,!1]}),u=n||((t,e)=>t<e);if(this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,s,n){let h,p,f,g,m,v,b,y=i.point,x=r.kdAxisArray[s%n],w=y,S=!1;h=e[o],p=y[o],f=et(h)&&et(p)?h-p:null,g=e[a],m=y[a],v=et(g)&&et(m)?g-m:0,b=c&&y.marker?.radius||0,y.dist=Math.sqrt((f&&f*f||0)+v*v)-b,y.distX=et(f)?Math.abs(f)-b:Number.MAX_VALUE;let E=(e[x]||0)-(y[x]||0)+(c&&y.marker?.radius||0),C=E<0?"left":"right",A=E<0?"right":"left";return i[C]&&([w,S]=d(y,t(e,i[C],s+1,n),l)),i[A]&&u(Math.sqrt(E*E),w[l],S)&&(w=d(w,t(e,i[A],s+1,n),l)[0]),w}(t,this.kdTree,h,h)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,i=t.pointPlacement;return"between"===i&&(i=e.reversed?-.5:.5),bt(i)?i*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:i,yAxis:s}=this,{plotX:n=-1,plotY:r=-1}=t;return r>=0&&r<=(s?s.len:e.plotHeight)&&n>=0&&n<=(i?i.len:e.plotWidth)}drawTracker(){let t=this,e=t.options,i=e.trackByArea,s=[].concat((i?t.areaPath:t.graphPath)||[]),n=t.chart,r=n.pointer,o=n.renderer,a=n.options.tooltip?.snap||0,l=()=>{e.enableMouseTracking&&n.hoverSeries!==t&&t.onMouseOver()},h="rgba(192,192,192,"+(ls?1e-4:.002)+")",c=t.tracker;c?c.attr({d:s}):t.graph&&(t.tracker=c=o.path(s).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),n.styledMode||c.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:h,fill:i?h:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}
vendor: 4,285 bytes, line 45
45),[t.tracker,t.markerGroup,...t.dataLabelsGroups||[]].forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",l).on("mouseout",(t=>{r?.onTrackerMouseOut(t)})),e.cursor&&!n.styledMode&&t.css({cursor:e.cursor}),t.on("touchstart",l))}))),lt(this,"afterDrawTracker")}addPoint(t,e,i,s,n){let r,o,a=this.options,{chart:l,data:h,dataTable:c,xAxis:d}=this,u=d?.hasNames&&d.names,p=a.data,f=this.getColumn("x");e=Mt(e,!0);let{applyOptions:g,optionsToObject:m}=this.pointClass.prototype,v={series:this},b=m.call(v,t);g.call(v,b,void 0,!1);let y=v.x;if(o=f.length,this.requireSorting&&y<f[o-1])for(r=!0;o&&f[o-1]>y;)o--;c.setRow(b,o,!0),this.xColumn?.splice(o,0,this.getX(y)),u&&v.name&&(u[y]=v.name),p?.splice(o,0,t),(r||this.hasProcessedDataTable)&&(this.data.splice(o,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),i&&(h[0]&&h[0].remove?h[0].remove(!1):([h,p,this.xColumn].filter(et).forEach((t=>{t.shift()})),c.deleteRows(0))),!1!==n&&lt(this,"addPoint",{point:v}),this.isDirty=!0,this.isDirtyData=!0,e&&l.redraw(s)}removePoint(t,e,i){let s=this,{chart:n,data:r,points:o,dataTable:a}=s,l=r[t],h=function(){[o?.length===r.length?o:void 0,r,s.options.data,s.xColumn].filter(et).forEach((e=>{e.splice(t,1)})),a.deleteRows(t),a.modified=a,l?.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&n.redraw()};rs(i,n),e=Mt(e,!0),l?l.firePointEvent("remove",null,h):h()}remove(t,e,i,s){let n=this,r=n.chart;function o(){n.destroy(s),r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(s),Mt(t,!0)&&r.redraw(e)}!1!==i?lt(n,"remove",null,o):o()}update(t,e){lt(this,"update",{options:t=nt(t,this.userOptions)});let i,s,n=this,r=n.chart,o=n.userOptions,a=n.initialType||n.type,l=r.options.plotOptions,h=cs[a].prototype,c=n.finishedAnimating&&{animation:!1},d={},u=t.data||t.dataTable,p=us.keepProps.slice(),f=t.type||o.type||r.options.chart.type,g=!(this.hasDerivedData||f&&f!==this.type||void 0!==t.keys||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t=>n.hasOptionChanged(t))));f=f||a,g?(p.push.apply(p,us.keepPropsForPoints),!1!==t.visible&&(p.push("area","graph"),"zones"in t||p.push("zones")),n.parallelArrays.forEach((function(t){p.push(t+"Data")})),u&&(t.dataSorting&&ot(n.options.dataSorting,t.dataSorting),this.setData(u,!1))):this.dataTable.modified=this.dataTable,t.dataLabels&&o.dataLabels&&(t.dataLabels=this.mergeArrays(o.dataLabels,t.dataLabels)),t=Et(o,{index:void 0===o.index?n.index:o.index,pointStart:l?.series?.pointStart??o.pointStart},!g&&{data:n.options.data},t,c),g&&t.data&&(t.data=n.options.data),(p=["dataLabelsGroup","dataLabelsGroups","dataLabelsParentGroups","group","markerGroup","plotClipGroup","transformGroup"].concat(p)).forEach((function(t){p[t]=n[t],delete n[t]}));let m=!1;if(cs[f]){if(m=f!==n.type,n.remove(!1,!1,!1,!0),m)if(r.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(n,cs[f].prototype);else{let t=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents;for(s in h)n[s]=void 0;ot(n,cs[f].prototype),t?n.hcEvents=t:delete n.hcEvents}}else Wt(17,!0,r,{missingModuleFor:f});if(p.forEach((function(t){n[t]=p[t]})),n.init(r,t),g&&this.points)for(let t of(!1===(i=n.options).visible?(d.graphic=1,d.dataLabel=1):(this.hasMarkerChanged(i,o)&&(d.graphic=1),n.hasDataLabels?.()||(d.dataLabel=1)),this.points))t?.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===i.showInLegend&&t.legendItem&&r.legend.destroyItem(t));n.initialType=a,r.linkSeries(),m&&n.linkedSeries.length&&(n.isDirtyData=!0),lt(this,"afterUpdate"),Mt(e,!0)&&r.redraw(!!g&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){let e=this.chart,i=this.options[t],s=e.options.plotOptions,n=this.userOptions[t],r=Mt(s?.[this.type]?.[t],s?.series?.[t]);return n&&!et(r)?i!==n:i!==Mt(r,i)}onMouseOver(){let t=this.chart,e=t.hoverSeries;t.pointer?.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),lt(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.chart,e=t.tooltip,i=t.hoverPoint;t.hoverSeries=null,i&&i.onMouseOut(),lt(this,"mouseOut"),e&&!this.stickyTracking&&(!e.shared||this.noSharedTooltip)&&e.hide(),t.series.forEac
45h((function(t){t.setState("",!0)}))}setState(t,e){let i=this,{graph:s,options:n}=i,{inactiveOtherPoints:r,states:o}=n,a=Mt(o?.[t||"normal"]?.animation,i.chart.options.chart.animation),{lineWidth:l,opacity:h}=n;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,...i.dataLabelsGroups||[]].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(!1===o[t]?.enabled)return;if(t&&(l=o[t].lineWidth||l+(o[t].lineWidthPlus||0),h=Mt(o[t].opacity,h)),s&&!s.dashstyle&&bt(l))for(let t of[s,...this.zones.map((t=>t.graph))])t?.animate({"stroke-width":l},a);r||[i.group,i.markerGroup,...i.dataLabelsGroups||[],i.labelBySeries].forEach((function(t){t?.animate({opacity:h},a)}))}e&&r&&i.points&&i.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}setVisible(t,e){let i=this,s=i.chart,n=s.options.chart.ignoreHiddenSeries,r=i.visible;i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!r:t;let o=t?"show":"hide";["group","markerGroup","tracker","tt"].forEach((t=>{i[t]?.[o]()})),i.dataLabelsGroups?.forEach((t=>{t?.[o]()})),(s.hoverSeries===i||s.hoverPoint?.series===i)&&i.onMouseOut(),i.legendItem&&s.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&s.series.forEach((t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((e=>{e.setVisible(t,!1)})),n&&(s.isDirtyBox=!0),lt(i,o),!1!==e&&s.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),lt(this,t?"select":"unselect")}shouldShowTooltip(t,e,i={}){return i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)}drawLegendSymbol(t,e){let i=this.chart.renderer,s=this.options.legendSymbol||"rectangle",n=e.legendItem||{},{options:r,symbolHeight:o,symbolWidth:a}=t,l=r.squareSymbol,h=l?o:a,c=l?(a-o)/2:0,d=(t.baseline||0)-o+1,u=r.symbolRadius??o,p="rectangle"===s?i.rect(c,d,h,o,u):i.symbols[s]&&i.symbol(s,c,d,h,o,{r:u});p?n.symbol=p.addClass("highcharts-point").attr({zIndex:3}).add(n.group):Ji[s]?.call(this,t,e)}}us.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"var(--highcharts-background-color)",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"var(--highcharts-neutral-color-20)",lineColor:"var(--highcharts-neutral-color-100)",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,distance:4,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:[1,3],style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},us.types=ss.seriesTypes,us.registerType=ss.registerSeriesType,us.keepProps=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],us.keepPropsForPoints=["data","isDirtyData","isDirtyCanvas","points","condemnedPoints","dataTable","hasProcessedDataTable","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"],ot(us.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:Wi,requireSorting:!0,sorted:!0}),ss.series=us;let ps=us,{animObject:fs,setAnimation:gs}=le,{registerEventOptions:ms}=di,{composed:vs,marginNames:bs}=q,{distribute:ys}=Ee,{format:xs}=Se;class ws{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWi
vendor: 4,286 bytes, line 45
45dth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),ms(this,e),V(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),V(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t){let e=Mt(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=Et(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=Mt(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let i=this.chart;this.setOptions(Et(!0,this.options,t)),"events"in this.options&&ms(this,this.options),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,Mt(e,!0)&&i.redraw(),lt(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let i=t.color,{area:s,group:n,label:r,line:o,symbol:a}=t.legendItem||{};if((t instanceof ps||t instanceof Wi)&&(t.color=t.options?.legendSymbolColor||i),n?.[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:i={}}=this,n=i.color,{fillColor:l,lineColor:h}=t.options,c=t=>(!e&&(t.fill&&(t.fill=n),t.stroke&&(t.stroke=n)),t);r?.css(Et(e?this.itemStyle:i)),o?.attr(c({stroke:h||t.color})),a?.attr(c(t.series?t.series.pointAttribs?.(t):t.pointAttribs?.()||{fill:t.color})),s?.attr(c({fill:l||t.color,"fill-opacity":l?1:t.options.fillOpacity??.75}))}t.color=i,lt(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:i=0,y:s=0}=t.legendItem||{},n=this.options,r=n.symbolPadding,o=!n.rtl,a=t.checkbox;if(e?.element){let n={translateX:o?i:this.legendWidth-i-2*r-4,translateY:s},a=()=>{lt(this,"afterPositionItem",{item:t})};e[et(e.translateY)?"animate":"attr"](n,void 0,a)}a&&(a.x=i,a.y=s)}destroyItem(t){let e=t.legendItem||{};for(let t of["group","label","line","symbol"])e[t]&&(e[t]=e[t].destroy());t.checkbox=st(t.checkbox),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group?.alignAttr,i=this.clipHeight||this.legendHeight,s=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach((function(n){let r,o=n.checkbox;o&&(r=t+s+o.y+(this.scrollOffset||0)+3,tt(o,{left:e.translateX+n.checkboxOffset+o.x-20+"px",top:r+"px",display:this.proximate||r>t-6&&r<t+i-6?"":"none"}))}),this))}renderTitle(){let t,e=this.options,i=this.padding,s=e.title,n=0;s.text&&(this.title||(this.title=this.chart.renderer.label(s.text,i-3,i-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(s.style),this.title.add(this.group)),s.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?xs(e.labelFormat,t,this.chart):e.labelFormatter.call(t,t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},i=this.chart,s=i.renderer,n=this.options,r="horizontal"===n.layout,o=this.symbolWidth,a=n.symbolPadding||0,l=this.itemStyle,h=this.itemHiddenStyle,c=r?Mt(n.itemDistance,20):0,d=!n.rtl,u=!t.series,p=!u&&t.series.drawLegendSymbol?t.series:t,f=p.options,g=!!this.createCheckboxForItem&&f&&f.showCheckbox,m=n.useHTML,v=t.options.className,b=e.label,y=o+a+c+20*!!g;!b&&(e.group=s.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(u?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=b=s.text("",d?o+a:-a,this.baseline||0,m),i.styledMode||b.css(Et(t.visible?l:h)),b.attr({align:d?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=s.fontMetrics(b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=Mt(n.symbolHeight,this.fontMetrics.f),n.squareSymbol&&(this.symbolWi
vendor: 1,961 bytes, line 45
45dth=Mt(n.symbolWidth,Math.max(this.symbolHeight,16)),y=this.symbolWidth+a+c+20*!!g,d&&b.attr("x",this.symbolWidth+a))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(i.styledMode||!l.width)&&b.css({width:Math.min(n.itemWidth||this.widthOption||i.spacingBox.width,n.maxWidth?_t(n.maxWidth,i.chartWidth):1/0)-y+"px"}),this.setText(t);let x=b.getBBox(),w=this.fontMetrics?.h||0;t.itemWidth=t.checkboxOffset=n.itemWidth||e.labelWidth||x.width+y,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(x.height>1.5*w?x.height:w))}layoutItem(t){let e=this.options,i=this.padding,s="horizontal"===e.layout,n=t.itemHeight,r=this.itemMarginBottom,o=this.itemMarginTop,a=s?Mt(e.itemDistance,20):0,l=this.maxLegendWidth,h=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,c=t.legendItem||{};s&&this.itemX-i+h>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=o+this.itemY+r,this.lastLineHeight=Math.max(n,this.lastLineHeight),c.x=this.itemX,c.y=this.itemY,s?this.itemX+=h:(this.itemY+=o+n+r,this.lastLineHeight=n),this.offsetWidth=this.widthOption||Math.max((s?this.itemX-i-(t.checkbox?0:a):h)+i,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach((function(e){let i=e?.options;e&&Mt(i.showInLegend,!et(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItem?.labels||("point"===i.legendType?e.data:e)))})),lt(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let i=this.chart,s=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEac
vendor: 15,631 bytes, line 45
45h(((r,o)=>{r.test(n)&&!et(t[o])&&(i[bs[o]]=Math.max(i[bs[o]],i.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*s[o%2?"x":"y"]+(s.margin??12)+e[o]+(i.titleOffset[o]||0)))}))}proximatePositions(){let t,e=this.chart,i=[],s="left"===this.options.align;for(let n of(this.allItems.forEach((function(t){let n,r,o,a,l=s;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(n=ft(l?t.points:t.points.slice(0).reverse(),(function(t){return bt(t.plotY)}))),r=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,o=t.visible?(n?n.plotY:t.yAxis.height)+(a-.3*r):a+t.yAxis.height,i.push({target:o,size:r,item:t}))}),this),ys(i,e.plotHeight)))t=n.item.legendItem||{},bt(n.pos)&&(t.y=e.plotTop-e.spacing[0]+n.pos)}render(){let t,e,i,s,n=this.chart,r=n.spacingBox.width,o=n.renderer,a=this.options,l=this.padding,h=this.getAllItems(),c=this.group,d=this.box;this.itemX=l,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=_t(a.width,r-l),s=r-2*l-a.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(s/=2),this.maxLegendWidth=this.widthOption||s,c||(this.group=c=o.g("legend").addClass(a.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),Bt(h,((t,e)=>(t.options?.legendIndex||0)-(e.options?.legendIndex||0))),a.reversed&&h.reverse(),this.allItems=h,this.display=t=!!h.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,h.forEach(this.renderItem,this),h.forEach(this.layoutItem,this),e=(a.maxWidth?Math.min(this.widthOption||this.offsetWidth,s,_t(a.maxWidth,n.chartWidth)||1/0):this.widthOption||this.offsetWidth)+l,i=this.lastItemY+this.lastLineHeight+this.titleHeight,i=this.handleOverflow(i)+l,d||(this.box=d=o.rect().addClass("highcharts-legend-box").attr({r:a.borderRadius}).add(c)),n.styledMode||d.attr({stroke:a.borderColor,"stroke-width":a.borderWidth||0,fill:a.backgroundColor||"none"}).shadow(a.shadow),e>0&&i>0&&d[d.placed?"animate":"attr"](d.crisp.call({},{x:0,y:0,width:e,height:i},d.strokeWidth())),c[t?"show":"hide"](),n.styledMode&&"none"===c.getStyle("display")&&(e=i=0),this.legendWidth=e,this.legendHeight=i,t&&this.align(),this.proximate||this.positionItems(),lt(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,i=this.options,s=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?s+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(s-=e.titleOffset[2]),s!==t.y&&(t=Et(t,{y:s})),e.hasRendered||(this.group.placed=!1),this.group.align(Et(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)}handleOverflow(t){let e,i,s,n,r=this,o=this.chart,a=o.renderer,l=this.options,h=l.y,c="top"===l.verticalAlign,d=this.padding,u=l.maxHeight,p=l.navigation,f=Mt(p.animation,!0),g=p.arrowSize||12,m=this.pages,v=this.allItems,b=function(t){"number"==typeof t?S.attr({height:t}):S&&(r.clipRect=S.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+d+"px,9999px,"+(d+t)+"px,0)":"auto")},y=function(t){return r[t]=a.circle(0,0,1.3*g).translate(g/2,g/2).add(w),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]},x=o.spacingBox.height+(c?-h:h)-d,w=this.nav,S=this.clipRect;return"horizontal"!==l.layout||"middle"===l.verticalAlign||l.floating||(x/=2),u&&(x=Math.min(x,u)),m.length=0,t&&x>0&&t>x&&!1!==p.enabled?(this.clipHeight=e=Math.max(x-20-this.titleHeight-d,0),this.currentPage=Mt(this.currentPage,1),this.fullHeight=t,v.forEach(((t,r)=>{let o=(s=t.legendItem||{}).y||0,a=Math.round(s.label.getBBox().height),l=m.length;(!l||o-m[l-1]>e&&(i||o)!==m[l-1])&&(m.push(i||o),l++),s.pageIx=l-1,i&&n&&(n.pageIx=l-1),r===v.length-1&&o+a-m[l-1]>e&&o>m[l-1]&&(m.push(o),s.pageIx=l),o!==i&&(i=o),n=s})),S||(S=r.clipRect=a.clipRect(0,d-2,9999,0),r.contentGroup.clip(S)),b(e),w||(this.nav=w=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,g,g).add(w),y("upTracker").on("click",(function(){r.scroll(-1,f)})),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&p.style&&this.pager.css(p.style),this.pager.add(w),this.down=a.symbol("triangle-down",0,0,g,g).add(w),y("downTracker").on("click",(function(){r.scroll(1,f)}))),r.scroll(0),t=x):w&&(b(),this.nav=w.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let i=this.chart,s=this.pages,n=s.length,r=this.clipHeight,o=this.options.navigation,a=this.pager,l=this.padding,h=this.currentPage+t;h>n&&(h=n),h>0&&(void 0!==e&&gs(e,i),this.nav.attr({translateX:l,translateY:r+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),a.attr({text:h+"/"+n}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===n?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i.styledMode||(this.up.attr({fill:1===h?o.inactiveColor:o.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===n?o.inactiveColor:o.activeColor}),this.downTracker.css({cursor:h===n?"default":"pointer"})),this.scrollOffset=-s[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),Nt((()=>{lt(this,"afterScroll",{currentPage:h})}),fs(Mt(e,i.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,i){let s=this,n=t.legendItem||{},r=s.chart.renderer.boxWrapper,o=t instanceof Wi,a=t instanceof ps,l="highcharts-legend-"+(o?"point":"series")+"-active",h=s.chart.styledMode,c=i?[e,n.symbol]:[n.group],d=e=>{s.allItems.forEach((i=>{t!==i&&[i].concat(i.linkedSeries||[]).forEach((t=>{t.setState(e,!o)}))}))};for(let i of c)i&&i.on("mouseover",(function(){t.visible&&d("inactive"),t.setState("hover"),t.visible&&r.addClass(l),h||e.css(s.options.itemHoverStyle)})).on("mouseout",(function(){s.chart.styledMode||e.css(Et(t.visible?s.itemStyle:s.itemHiddenStyle)),d(""),r.removeClass(l),t.setState()})).on("click",(function(e){r.removeClass(l),lt(s,"itemClick",{browserEvent:e,legendItem:t,context:s},(function(){t.setVisible&&t.setVisible(),d(t.visible?"inactive":"")})),o?t.firePointEvent("legendItemClick",{browserEvent:e}):a&&lt(t,"legendItemClick",{browserEvent:e})}))}createCheckboxForItem(t){t.checkbox=Q("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),V(t.checkbox,"click",(function(e){let i=e.target;lt(t.series||t,"checkboxClick",{checked:i.checked,item:t},(function(){t.select()}))}))}}(p=ws||(ws={})).compose=function(t){Lt(vs,"Core.Legend")&&V(t,"beforeMargins",(function(){this.legend=new p(this,this.options.legend)}))};let Ss=ws,{animate:Es,animObject:Cs,setAnimation:As}=le,{defaultOptions:Ts}=Qt,{numberFormat:ks}=Se,{registerEventOptions:Ms}=di,{charts:Os,doc:Ls,marginNames:_s,win:Ps}=q,{seriesTypes:Ds}=ss;class Is{static chart(t,e,i){let s=new Is(t,e,i);return s.promise||s}constructor(t,e,i){if(this.sharedClips={},!Ls)return void Wt(36,!1,this);const s=[...arguments];(yt(t)||t.nodeName)&&(this.renderTo=s.shift()),this.init(s[0],s[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:Mt(t.zoomType,e.type),key:Mt(t.zoomKey,e.key),pinchType:Mt(t.pinchType,e.pinchType),singleTouch:Mt(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:Et(e.resetButton,t.resetZoomButton)}}init(t,e){lt(this,"init",{args:arguments},(function(){let i=Et(Ts,t),s=i.chart,n=this.renderTo||s.renderTo;this.userOptions=ot({},t),(this.renderTo=yt(n)?Ls.getElementById(n):n)||Wt(13,!0,this),this.margin=[],this.spacing=[],this.labelCollectors=[],!0===e?this.promise=new Promise((t=>{this.callback=t})):this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.locale=i.lang.locale??this.renderTo.closest("[lang]")?.lang,this.time=new Yt(ot(i.time||{},{locale:this.locale}),i.lang),i.time=this.time.options,this.numberFormatter=(s.numberFormatter||ks).bind(this),this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes,this.index=Os.length,this.dataTable=this.getDataTable(i),Os.push(this),q.chartCount++,Ms(this,s),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),lt(this,"afterInit"),this.firstRender()}))}getDataTable(t){return(t.dataTable?It(t.dataTable):[]).map((t=>t.isDataTable?t:new Ki(t)))}initSeries(t){let e=this.options.chart,i=t.type||e.type,s=Ds[i];s||Wt(17,!0,this,{missingModuleFor:i});let n=new s;return"function"==typeof n.init&&n.init(this,t),n}orderItems(t,e=0){let i=this[t],s=this.options[t]=It(this.options[t]).slice(),n=this.userOptions[t]=this.userOptions[t]?It(this.userOptions[t]).slice():[];if(this.hasRendered&&(s.splice(e),n.splice(e)),i)for(let t=e,r=i.length;t<r;++t){let e=i[t];e&&(e.index=t,e instanceof ps&&(e.name=e.getName()),e.options.isInternal||(s[t]=e.options,n[t]=e.userOptions))}}getClipBox(t,e){let i=this.inverted,{xAxis:s,yAxis:n}=t||{},{x:r,y:o,width:a,height:l}=Et(this.clipBox);return t&&(s&&s.len!==this.plotSizeX&&!s.isRadial&&(a=s.len),n&&n.len!==this.plotSizeY&&!n.isRadial&&(l=n.len),i&&!t.invertible&&([a,l]=[l,a])),e&&(r+=(i?n:s)?.pos??this.plotLeft,o+=(i?s:n)?.pos??this.plotTop),{x:r,y:o,width:a,height:l}}isInsidePlot(t,e,i={}){let{inverted:s,plotBox:n,plotLeft:r,plotTop:o,scrollablePlotBox:a}=this,{scrollLeft:l=0,scrollTop:h=0}=i.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},c=i.series,d=i.visiblePlotOnly&&a||n,u=i.inverted?e:t,p=i.inverted?t:e,f={x:u,y:p,isInsidePlot:!0,options:i};if(!i.ignoreX){let t=c&&(s&&!this.polar?c.yAxis:c.xAxis)||{pos:r,len:1/0},e=i.paneCoordinates?t.pos+u:r+u;e>=Math.max(l+r,t.pos)&&e<=Math.min(l+r+d.width,t.pos+t.len)||(f.isInsidePlot=!1)}if(!i.ignoreY&&f.isInsidePlot){let t=!s&&i.axis&&!i.axis.isXAxis&&i.axis||c&&(s?c.xAxis:c.yAxis)||{pos:o,len:1/0},e=i.paneCoordinates?t.pos+p:o+p;e>=Math.max(h+o,t.pos)&&e<=Math.min(h+o+d.height,t.pos+t.len)||(f.isInsidePlot=!1)}return lt(this,"afterIsInsidePlot",f),f.isInsidePlot}redraw(t){lt(this,"beforeRedraw");let e,i,s,n,r=this.hasCartesianSeries?this.axes:this.colorAxis||[],o=this.series,a=this.pointer,l=this.legend,h=this.userOptions.legend,c=this.renderer,d=c.isHidden(),u=[],p=this.isDirtyBox,f=this.isDirtyLegend;for(c.rootFontSize=c.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),As(!!this.hasRendered&&t,this),d&&this.temporaryDisplay(),this.layOutTitles(!1),s=o.length;s--;)if(((n=o[s]).options.stacking||n.options.centerInCategory)&&(i=!0,n.isDirty)){e=!0;break}if(e)for(s=o.length;s--;)(n=o[s]).options.stacking&&(n.isDirty=!0);o.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),f=!0):h&&(h.labelFormatter||h.labelFormat)&&(f=!0)),t.isDirtyData&&lt(t,"updatedData")})),f&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),i&&this.getStacks(),r.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),r.forEach((function(t){t.isDirty&&(p=!0)})),r.forEach((function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,u.push((function(){lt(t,"afterSetExtremes",ot(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(p||i)&&t.redraw()})),p&&this.drawChartBox(),lt(this,"predraw"),o.forEach((function(t){(p||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),a&&a.reset(!0),c.draw(),r.forEach((t=>{t.saveOld()})),lt(this,"redraw"),lt(this,"render"),d&&this.temporaryDisplay(!0),u.forEach((function(t){t.call()}))}get(t){let e=this.series;function i(e){return e.id===t||e.options&&e.options.id===t}let s=ft(this.axes,i)||ft(this.series,i);for(let t=0;!s&&t<e.length;t++)s=ft(e[t].points||[],i);return s}createAxes(){let t=this.userOptions;for(let e of(lt(this,"createAxes"),["xAxis","yAxis"]))for(let i of t[e]=It(t[e]||{}))new Si(this,i,e);lt(this,"afterCreateAxes")}getSelectedPoints(){return this.series.reduce(((t,e)=>(e.getPointsCollection().forEach((e=>{Mt(e.selectedStaging,e.selected)&&t.push(e)})),t)),[])}getSelectedSeries(){return this.series.filter((t=>t.selected))}setTitle(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)}applyDescription(t,e){let i=this,s=this.options[t]=Et(this.options[t],e),n=this[t];n&&e&&(this[t]=n=n.destroy()),s&&!n&&((n=this.renderer.text(s.text,0,0,s.useHTML).attr({align:s.align,class:"highcharts-"+t,zIndex:s.zIndex||4}).css({textOverflow:"ellipsis",whiteSpace:"nowrap"}).add()).update=function(e,s){i.applyDescription(t,e),i.layOutTitles(s)},this.styledMode||n.css(ot("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},s.style)),n.textPxLength=n.getBBox().width,n.css({whiteSpace:s.style?.whiteSpace}),this[t]=n)}layOutTitles(t=!0){let e=[0,0,0],{options:i,renderer:s,spacingBox:n}=this;["title","subtitle","caption"].forEach((t=>{let i=this[t],r=this.options[t],o=Et(n),a=i?.textPxLength||0;if(i&&r){lt(this,"layOutTitle",{alignTo:o,key:t,textPxLength:a});let n=s.fontMetrics(i),l=n.b,h=n.h,c=r.verticalAlign||"top",d="top"===c,u=d&&r.minScale||1,p="title"===t?d?-3:0:d?e[0]+2:0,f=Math.min(o.width/a,1),g=Math.max(u,f),m=Et({y:"bottom"===c?l:p+l},r),v=(r.width||(f>u?this.chartWidth:o.width)/g)+"px";m.align??(m.align="title"===t?f<u?"left":"center":this.title?.alignValue),i.alignValue!==m.align&&(i.placed=!1);let b=Math.round(i.css({width:v}).getBBox(r.useHTML).height);if(m.height=b,i.align(m,!1,o).attr({align:m.align,scaleX:g,scaleY:g,"transform-origin":`${o.x+a*g*ht(m.align)} ${h}`}),!r.floating){let t=b*(b<1.2*h?1:g);"top"===c?e[0]=Math.ceil(e[0]+t):"bottom"===c&&(e[2]=Math.ceil(e[2]+t))}}}),this),e[0]&&"top"===(i.title?.verticalAlign||"top")&&(e[0]+=i.title?.margin||0),e[2]&&"bottom"===i.caption?.verticalAlign&&(e[2]+=i.caption?.margin||0);let r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,lt(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){let t=[].map.call(this.renderTo.children,(t=>{if(t!==this.container){let e=t.style.display;return t.style.display="none",[t,e]}})),e={width:pt(this.renderTo,"width",!0)||0,height:pt(this.renderTo,"height",!0)||0};return t.filter(Boolean).forEach((([t,e])=>{t.style.display=e})),e}getChartSize(){let t=this.options.chart,e=t.width,i=t.height,s=this.getContainerBox(),n=s.height<=1||!this.renderTo.parentElement?.style.height&&"100%"===this.renderTo.style.height;this.chartWidth=Math.max(0,e||s.width||600),this.chartHeight=Math.max(0,_t(i,this.chartWidth)||(n?400:s.height)),this.containerBox=s}temporaryDisplay(t){let e,i=this.renderTo;if(t)for(;i?.style;)i.hcOrigStyle&&(tt(i,i.hcOrigStyle),delete i.hcOrigStyle),i.hcOrigDetached&&(Ls.body.removeChild(i),i.hcOrigDetached=!1),i=i.parentNode;else for(;i?.style&&(Ls.body.contains(i)||i.parentNode||(i.hcOrigDetached=!0,Ls.body.appendChild(i)),("none"===pt(i,"display",!1)||i.hcOrigDetached)&&(i.hcOrigStyle={display:i.style.display,height:i.style.height,overflow:i.style.overflow},e={display:"block",overflow:"hidden"},i!==this.renderTo&&(e.height=0),tt(i,e),i.offsetWidth||i.style.setProperty("display","block","important")),(i=i.parentNode)!==Ls.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){let t,e=this.options,i=e.chart,s="data-highcharts-chart",n=jt(),r=this.renderTo,o=Ot(U(r,s));
vendor: 8,741 bytes, line 45
45bt(o)&&Os[o]&&Os[o].hasRendered&&Os[o].destroy(),U(r,s,this.index),r.innerHTML=fe.emptyHTML,i.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize();let a=this.chartHeight,l=this.chartWidth;this.styledMode||tt(r,{overflow:"hidden"}),this.styledMode||(t=ot({position:"relative",overflow:"hidden",width:l+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},i.style||{}));let h=Q("div",{id:n},t,r);if(this.container=h,this.getChartSize(),l!==this.chartWidth&&(l=this.chartWidth,this.styledMode||tt(h,{width:Mt(i.style?.width,l+"px")})),this._cursor=h.style.cursor,this.renderer=new ri(h,l,a,void 0,i.forExport,e.exporting?.allowHTML,this.styledMode,e.palette,this.index),this.containerBox=this.getContainerBox(),As(void 0,this),this.setClassName(i.className),this.styledMode)for(let t in e.defs)this.renderer.definition(e.defs[t]);else this.renderer.setStyle(i.style),this.palette=this.renderer.palette;lt(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:i,titleOffset:s}=this;this.resetMargins(),s[0]&&!et(i[0])&&(this.plotTop=Math.max(this.plotTop,s[0]+e[0])),s[2]&&!et(i[2])&&(this.marginBottom=Math.max(this.marginBottom,s[2]+e[2])),this.legend?.display&&this.legend.adjustMargins(i,e),lt(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,s=t.margin,n=t=>{t.forEach((t=>{t.visible&&t.getOffset()}))};t.hasCartesianSeries?n(t.axes):i?.length&&n(i),_s.forEach(((i,n)=>{et(s[n])||(t[i]+=e[n])})),t.setChartSize()}getOptions(){return nt(this.userOptions,Ts)}reflow(t){let e=this,i=e.containerBox,s=e.getContainerBox();delete e.pointer?.chartPosition,!e.exporting?.isPrinting&&!e.isResizing&&i&&s.width&&((s.width!==i.width||s.height!==i.height)&&(gt(e.reflowTimeout),e.reflowTimeout=Nt((function(){if(e.container){e.setSize(void 0,void 0,!1);let t=e.containerBox;t&&(t.height=e.chartHeight)}}),100*!!t)),e.containerBox=s)}setReflow(){let t=this,e=e=>{t.options?.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=V(Ps,"resize",e);V(this,"destroy",t)}}setSize(t,e,i){let s=this,n=s.renderer;s.isResizing+=1,As(i,s);let r=n.globalAnimation;s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,void 0!==t&&(s.options.chart.width=t),void 0!==e&&(s.options.chart.height=e),s.getChartSize();let{chartWidth:o,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:h=0}=s;(s.isDirtyBox||o!==s.oldChartWidth||a!==s.oldChartHeight)&&(s.styledMode||(r?Es:tt)(s.container,{width:`${o+l}px`,height:`${a+h}px`},r),s.setChartSize(!0),n.setSize(o,a,r),s.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.layOutTitles(),s.getMargins(),s.redraw(r),s.oldChartHeight=void 0,lt(s,"resize"),setTimeout((()=>{s&&lt(s,"endResize")}),Cs(r).duration)),s.isResizing-=1}setChartSize(t){let e,i,s,n,{chartHeight:r,chartWidth:o,clipOffset:a,inverted:l,spacing:h,renderer:c}=this,d=Math[l?"floor":"round"];if(this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=s=Math.max(0,Math.round(o-e-(this.marginRight??0))),this.plotHeight=n=Math.max(0,Math.round(r-i-(this.marginBottom??0))),this.plotSizeX=l?n:s,this.plotSizeY=l?s:n,this.spacingBox=c.spacingBox={x:h[3],y:h[0],width:o-h[3]-h[1],height:r-h[0]-h[2]},this.plotBox=c.plotBox={x:e,y:i,width:s,height:n},a&&(this.clipBox={x:d(a[l?2:3]),y:d(a[+!!l]),width:d(this.plotSizeX-a[+!l]-a[l?2:3]),height:d(this.plotSizeY-a[+!!l]-a[l?3:2])}),!t){for(let t of this.axes)t.setAxisSize(),t.setAxisTranslation();c.alignElements()}lt(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){lt(this,"resetMargins");let t=this,e=t.options.chart,i=e.plotBorderWidth||0,s=Math.round(i)/2;["margin","spacing"].forEach((i=>{let s=e[i],n=St(s)?s:[s,s,s,s];["Top","Right","Bottom","Left"].forEach(((s,r)=>{t[i][r]=e[`${i}${s}`]??n[r]}))})),_s.forEach(((e,i)=>{t[e]=t.margin[i]??t.spacing[i]})),t.axisOffset=[0,0,0,0],t.clipOffset=[s,s,s,s],t.plotBorderWidth=i}drawChartBox(){let t,e,i,s=this,n=s.options.chart,{backgroundColor:r,plotBackgroundColor:o,plotBackgroundImage:a,plotBorderRadius:l=0,shadow:h}=n,{chartWidth:c,chartHeight:d,clipBox:u,clipOffset:p,clipRect:f,plotBGImage:g,plotBox:m,plotLeft:v,plotTop:b,plotWidth:y,plotHeight:x,renderer:w,styledMode:S}=s,E=s.chartBackground,C=s.plotBackground,A=s.plotBorder,T="animate";E||(s.chartBackground=E=w.rect().addClass("highcharts-background").add(),T="attr"),S?t=e=E.strokeWidth():(e=(t=n.borderWidth||0)+8*!!h,i={fill:r||"none"},(t||E["stroke-width"])&&(i.stroke=n.borderColor,i["stroke-width"]=t),E.attr(i).shadow(h)),E[T]({x:e/2,y:e/2,width:c-e-t%2,height:d-e-t%2,r:n.borderRadius}),T="animate",C||(T="attr",s.plotBackground=C=w.rect().addClass("highcharts-plot-background").add()),C[T]({...m,r:l}),!S&&(C.attr({fill:o||"none"}).shadow(n.plotShadow),a&&(g?(a!==g.attr("href")&&g.attr("href",a),g.animate(m)):s.plotBGImage=w.image(a,v,b,y,x).add())),f?f.animate({width:u.width,height:u.height}):s.clipRect=w.clipRect(u),T="animate",A||(T="attr",s.plotBorder=A=w.rect().addClass("highcharts-plot-border").attr({zIndex:1.5}).add()),A.attr(S?void 0:{stroke:n.plotBorderColor,"stroke-width":n.plotBorderWidth||0,fill:"none"})[T]({r:l});let k=A.strokeWidth(),M=Et(A.crisp(m,-k));if(p&&!S){let t=p[0]-k/2,e=p[3]-k/2;M.x-=e,M.y-=t,M.width+=e+p[1]-k/2,M.height+=t+p[2]-k/2}A[T](M),["plotClipOuter","plotClipInner"].forEach(((t,e)=>{let i=s[t],n=e?-k:k;i?.[l?T:"attr"]({x:M.x-n/2,y:M.y-n/2,width:M.width+n,height:M.height+n,r:l?l+n/2:0}),i?.parentGroup?.attr({display:l?"":"none"})})),s.isDirtyBox=!1,lt(this,"afterDrawChartBox")}propFromSeries(){let t,e,i,s=this,n=s.options.chart,r=s.options.series;["inverted","angular","polar"].forEach((function(o){for(e=Ds[n.type],i=n[o]||e&&e.prototype[o],t=r?.length;!i&&t--;)(e=Ds[r[t].type])&&e.prototype[o]&&(i=!0);s[o]=i}))}linkSeries(t){let e=this,i=e.series;i.forEach((function(t){t.linkedSeries.length=0})),i.forEach((function(t){let{linkedTo:s}=t.options,n=yt(s)&&(":previous"===s?i[t.index-1]:e.get(s));n&&n.linkedParent!==t&&(n.linkedSeries.push(t),t.linkedParent=n,t.visible=t.options.visible??n.options.visible??t.visible)})),lt(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach((function(t){t.translate(),t.render()}))}render(){let t,e=this.axes,i=this.colorAxis,s=this.renderer,{axisLayoutRuns:n=2,plotBorderRadius:r}=this.options.chart,o=t=>{t.forEach((t=>{t.visible&&t.render()}))},a=0,l=!0,h=0;for(let t of(r&&(this.plotClipOuter||(this.plotClipOuter=s.clipRect()),this.plotClipInner||(this.plotClipInner=s.clipRect())),this.setTitle(),lt(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),e)){let{options:e}=t,{labels:i,offset:s}=e;if(this.hasCartesianSeries&&t.horiz&&t.visible&&i.enabled&&t.series.length&&"colorAxis"!==t.coll&&!t.isRadial){a=e.tickLength,t.createGroups();let n=new pi(t,0,"",!0),r=n.createLabel("x",i);if(n.destroy(),r&&Mt(i.reserveSpace,!bt(e.crossing))&&(a=r.getBBox().height+i.distance+Math.max(bt(s)?s:0,0)),a){r?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-a,0);(l||t||n>1)&&h<n;){let i=this.plotWidth,s=this.plotHeight,n=[1.05,1.1];for(let i of e){let e=+(i.horiz||0);if(0===h){i.setScale();let t=i.tickPositions?.info?.match;t&&(n[e]=Math.min(t,n[e]))}else(e&&l||!e&&t)&&i.setTickInterval(!0)}0===h?this.getAxisMargins():this.getMargins(),l=i/this.plotWidth>(h?1:n[1]),t=s/this.plotHeight>(h?1:n[0]),h++}this.drawChartBox(),this.hasCartesianSeries?o(e):i?.length&&o(i),this.seriesGroup||(this.seriesGroup=s.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,i=Et(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0,i.useHTML).addClass("highcharts-credits").on("click",(function(t){lt(e,"creditsClick",t,(()=>{i.href&&(Ps.location.href=i.href)}))})).attr({align:i.position.align,zIndex:8}),i.events?.click&&V(e,"creditsClick",i.events.click),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,i=e.axes,s=e.series,n=e.container,r=n?.parentNode;for(lt(e,"destroy"),e.renderer.forExport?rt(Os,e):Os[e.index]=void 0,q.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),Dt(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller?.destroy?.(),t=s.length;t--;)s[t]=s[t].destroy();
45["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((t=>{e[t]=e[t]?.destroy?.()})),n&&(n.innerHTML=fe.emptyHTML,Dt(n),r&&st(n)),At(e,(function(t,i){delete e[i]}))}firstRender(){let t=this,e=t.options;t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.createAxes();let i=xt(e.series)?e.series:[];e.series=[],i.forEach((function(e){t.initSeries(e)})),t.linkSeries(),lt(t,"beforeRender"),t.render(),t.pointer?.getChartPosition(),t.renderer.asyncCounter||t.hasLoaded||t.onload(),t.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),lt(this,"load"),lt(this,"render"),et(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.warnIfCSSNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(e?.element.textContent||"").replace(/</g,"&lt;")}),t.accessibility&&!1===t.accessibility.enabled||Wt('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}warnIfCSSNotLoaded(){this.styledMode&&"0"!==Ps.getComputedStyle(this.container).zIndex&&Wt(35,!1,this)}addSeries(t,e,i){let s,n=this;return t&&(e=Mt(e,!0),lt(n,"addSeries",{options:t},(function(){s=n.initSeries(t),n.isDirtyLegend=!0,n.linkSeries(),lt(n,"afterAddSeries",{series:s}),e&&n.redraw(i)}))),s}addAxis(t,e,i,s){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:s})}addColorAxis(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})}createAxis(t,e){let i=new Si(this,e.axis,t);return Mt(e.redraw,!0)&&this.redraw(e.animation),i}showLoading(t){let e=this,i=e.options,s=i.loading,n=s?.style??{},r=function(){o&&tt(o,{left:n.left??e.plotLeft+"px",top:n.top??e.plotTop+"px",width:n.width??e.plotWidth+"px",height:n.height??e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=Q("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=Q("span",{className:"highcharts-loading-inner"},null,o),V(e,"redraw",r)),o.className="highcharts-loading",fe.setElementHTML(a,Mt(t,i.lang.loading,"")),!e.styledMode&&(tt(o,ot(n,{zIndex:10})),tt(a,s?.labelStyle??{}),e.loadingShown||(tt(o,{opacity:0,display:""}),Es(o,{opacity:n.opacity??.5},{duration:s?.showDuration??0}))),e.loadingShown=!0,r()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||Es(e,{opacity:0},{duration:t.loading?.hideDuration??100,complete:function(){tt(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,i,s){let n,r,o,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},h=t.isResponsiveOptions,c=[];lt(a,"update",{options:t}),h||a.setResponsive(!1,!0),t=nt(t,a.options),a.userOptions=Et(a.userOptions,t);let d=t.chart;d&&(Et(!0,a.options.chart,d),this.setZoomOptions(),"className"in d&&a.setClassName(d.className),("inverted"in d||"polar"in d||"type"in d)&&(a.propFromSeries(),n=!0),"alignTicks"in d&&(n=!0),"events"in d&&Ms(this,d),At(d,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(a.isDirtyBox=!0,h||(o=!0))})),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),At(t,(function(e,i){a[i]&&"function"==typeof a[i].update?a[i].update(e,!1):"function"==typeof a[l[i]]?a[l[i]](e):"colors"!==i&&-1===a.collectionsWithUpdate.indexOf(i)&&Et(!0,a.options[i],t[i]),"chart"!==i&&-1!==a.propsRequireUpdateSeries.indexOf(i)&&(r=!0)})),this.collectionsWithUpdate.forEach((e=>
45{t[e]&&(It(t[e]).forEach(((t,s)=>{let n;if(!t)return;let r=et(t.id);r&&(n=a.get(t.id)),!n&&a[e]&&(n=a[e][Mt(t.index,s)])&&(r&&et(n.options.id)||n.options.isInternal)&&(n=void 0),n&&n.coll===e&&(n.update(t,!1),i&&(n.touched=!0)),!n&&i&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),i&&a[e].forEach((t=>{t.touched||t.options.isInternal?delete t.touched:c.push(t)})))})),c.forEach((t=>{t.chart&&t.remove&&t.remove(!1)})),n&&a.axes.forEach((function(t){t.update({},!1)})),r&&a.series.forEach((t=>{t.chart&&t.update({},!1)}));let u=d?.width,p=d&&(yt(d.height)?_t(d.height,u||a.chartWidth):d.height);o||bt(u)&&u!==a.chartWidth||bt(p)&&p!==a.chartHeight?a.setSize(u,p,s):Mt(e,!0)&&a.redraw(s),lt(a,"afterUpdate",{options:t,redraw:e,animation:s})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=t.options.lang,i=t.zooming.resetButton,s=i.theme,n="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"plotBox";function r(){t.zoomOut()}lt(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,r,s).attr({align:i.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,n)})),lt(this,"afterShowResetZoom")}zoomOut(){lt(this,"selection",{resetSelection:!0}
45,(()=>this.transform({reset:!0,trigger:"zoom"})))}pan(t,e){let i=this,s="object"==typeof e?e:{enabled:e,type:"x"},n=s.type,r=n&&i[{x:"xAxis",xy:"axes",y:"yAxis"}[n]].filter((t=>t.options.panningEnabled&&!t.options.isInternal)),o=i.options.chart;o?.panning&&(o.panning=s),lt(this,"pan",{originalEvent:t},(()=>{i.transform({axes:r,event:t,to:{x:t.chartX-(i.mouseDownX||0),y:t.chartY-(i.mouseDownY||0)},trigger:"pan"}),tt(i.container,{cursor:"move"})}))}transform(t){let{axes:e=this.axes,event:i,from:s={},reset:n,selection:r,to:o={},trigger:a,allowResetButton:l=!0}=t,{inverted:h,time:c}=this;this.hoverPoints?.forEach((t=>t.setState())),lt(this,"transform",t);let d,u,p=t.hasZoomed||!1;for(let t of e){let{horiz:e,len:f,minPointOffset:g=0,options:m,reversed:v}=t,b=e?"width":"height",y=e?"x":"y",x=Mt(o[b],t.len),w=Mt(s[b],t.len),S=10>Math.abs(x)?1:x/w,E=(s[y]||0)+w/2-t.pos,C=E-((o[y]??t.pos)+x/2-t.pos)/S,A=v&&!h||!v&&h?-1:1;if(!n&&(E<0||E>t.len))continue;let T=t.chart.polar||t.isOrdinal&&S<=1?0:g*A||0,k=t.toValue(C,!0),M=t.toValue(C+f/S,!0),O=k+T,L=M-T,_=t.allExtremes;if(r&&r[t.coll].push({axis:t,min:Math.min(k,M),max:Math.max(k,M)}),O>L&&([O,L]=[L,O]),1===S&&!n&&"yAxis"===t.coll&&!_){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).modified.getColumn(e.pointValKey||"y")||[],!0);_??(_={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),bt(t.dataMin)&&bt(t.dataMax)&&(_.dataMin=Math.min(t.dataMin,_.dataMin),_.dataMax=Math.max(t.dataMax,_.dataMax))}t.allExtremes=_}let{dataMin:P,dataMax:D,min:I,max:B}=ot(t.getExtremes(),_||{}),N=c.parse(m.min),z=c.parse(m.max),R=P??N,F=D??z,H=L-O,W=t.categories?0:Math.min(H,F-R),q=R-W*(et(N)?0:m.minPadding),$=F+W*(et(z)?0:m.maxPadding),j=t.allowZoomOutside||1===S||"zoom"!==a&&S>1,G=Math.min(N??q,q,j?I:q),V=Math.max(z??$,$,j?B:$);(!t.isOrdinal||1!==S||n)&&(O<G&&(O=G,S>=1&&(L=O+H)),L>V&&(L=V,S>=1&&(O=L-H)),(n||t.series.length&&(O!==I||L!==B)&&O>=G&&L<=V)&&(r?r[t.coll].push({axis:t,min:O,max:L}):(t.isPanning="zoom"!==a,t.isPanning&&"mousewheel"!==a&&(u=!0),t.setExtremes(n?void 0:O,n?void 0:L,!1,!1,{move:C,trigger:a,scale:S}),!n&&(O>G||L<V)&&(d=l)),p=!0),this.hasCartesianSeries||n||(d=l),i&&(this[e?"mouseDownX":"mouseDownY"]=i[e?"chartX":"chartY"]))}return p&&(r?lt(this,"selection",r,(()=>{delete t.selection,t.trigger="zoom",this.transform(t)})):(!d||u||this.resetZoomButton?!d&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===a&&(this.options.chart.animation??this.pointCount<100)))),p}}ot(Is.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Is.prototype.addAxis,[!0]],yAxis:[Is.prototype.addAxis,[!1]],series:[Is.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
45dColor","plotBackgroundImage","plotBorderColor","plotBorderRadius","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]});let Bs=Is,{stop:Ns}=le,{composed:zs}=q;function Rs(){(this.scrollablePixelsX||this.scrollablePixelsY)&&!this.scrollablePlotArea&&(this.scrollablePlotArea=new Hs(this)),this.scrollablePlotArea?.applyFixed()}function Fs(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class Hs{static compose(t,e,i){Lt(zs,"ScrollablePlotArea")&&(V(t,"afterInit",Fs),V(e,"afterSetChartSize",(t=>this.afterSetSize(t.target,t))),V(e,"render",Rs),V(i,"show",Fs))}static afterSetSize(t,e){let i,s,n,{minWidth:r,minHeight:o}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:h,renderer:c}=t;if(!c.forExport)if(r?(t.scrollablePixelsX=i=Math.max(0,r-t.chartWidth),i&&(t.scrollablePlotBox=Et(t.plotBox),l.width=t.plotWidth+=i,a[h?"height":"width"]+=i,n=!0)):o&&(t.scrollablePixelsY=s=Math.max(0,o-t.chartHeight),et(s)&&(t.scrollablePlotBox=Et(t.plotBox),l.height=t.plotHeight+=s,a[h?"width":"height"]+=s,n=!1)),et(n)){if(!e.skipAxes)for(let e of t.axes)(e.horiz===n||t.hasParallelCoordinates&&"yAxis"===e.coll)&&(e.setAxisSize(),e.setAxisTranslation())}else delete t.scrollablePlotBox}constructor(t){let e;const i=t.options.chart,s=i.scrollablePlotArea||{},n=this.moveFixedElements.bind(this),r={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(r.overflowX="auto"),t.scrollablePixelsY&&(r.overflowY="auto"),this.chart=t;const o=this.parentDiv=Q("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),a=this.scrollingContainer=Q("div",{className:"highcharts-scrolling"},r,o),l=this.innerContainer=Q("div",{className:"highcharts-inner-container"},void 0,a),h=this.fixedDiv=Q("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(i.style?.zIndex||0)+2,top:0},void 0,!0),c=this.fixedRenderer=new ri(h,t.chartWidth,t.chartHeight,i.style);this.mask=c.path().attr({fill:i.backgroundColor||"#fff","fill-opacity":s.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a.parentNode.insertBefore(h,a),tt(t.renderTo,{overflow:"visible"}),V(t,"afterShowResetZoom",n),V(t,"afterApplyDrilldown",n),V(t,"afterLayOutTitles",n),V(a,"scroll",(()=>{let{pointer:i,hoverPoint:s}=t;i&&(delete i.chartPosition,s&&(e=s),i.runPointActions(void 0,e,!0))})),l.appendChild(t.container)}applyFixed(){let{chart:t,fixedRenderer:e,isDirty:i,scrollingContainer:s}=this,{axisOffset:n,chartWidth:r,chartHeight:o,container:a,plotHeight:l,plotLeft:h,plotTop:c,plotWidth:d,scrollablePixelsX:u=0,scrollablePixelsY:p=0}=t,{scrollPositionX:f=0,scrollPositionY:g=0}=t.options.chart.scrollablePlotArea||{},m=r+u,v=o+p;e.setSize(r,o),(i??!0)&&(this.isDirty=!1,this.moveFixedElements()),Ns(t.container),tt(a,{width:`${m}px`,height:`${v}px`}),t.renderer.boxWrapper.attr({width:m,height:v,viewBox:["0 0",m,v].join(" ")}),t.chartBackground?.attr({width:m,height:v}),tt(s,{width:`${r}px`,height:`${o}px`}),et(i)||(s.scrollLeft=u*f,s.scrollTop=p*g);let b=c-n[0]-1,y=h-n[3]-1,x=c+l+n[2]+1,w=h+d+n[1]+1,S=h+d-u,E=c+l-p,C=[["M",0,0]];u?C=[["M",0,b],["L",h-1,b],["L",h-1,x],["L",0,x],["Z"],["M",S,b],["L",r,b],["L",r,x],["L",S,x],["Z"]]:p&&(C=[["M",y,0],["L",y,c-1],["L",w,c-1],["L",w,0],["Z"],["M",y,E],["L",y,o],["L",w,o],["L",w,E],["Z"]]),"adjustHeight"!==t.redrawTrigger&&this.mask.attr({d:C})}moveFixedElements(){let t,{container:e,inverted:i,scrollablePixelsX:s,scrollablePixelsY:n}=this.chart,r=this.fixedRenderer,o=Hs.fixedSelectors.slice();if(s&&!i?t=".highcharts-yaxis":s&&i||n&&!i?t=".highcharts-xaxis":n&&i&&(t=".highcharts-yaxis"),!t||this.chart.hasParallelCoordinates&&".highcharts-yaxis"===t)for(let t of[".highcharts-xaxis",".highcharts-yaxis"])for(let e of[`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`])rt(o,e);else for(let e of[`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`])Lt(o,e);for(let t of o)[].forEach.call(e.querySelectorAll(t),(t=>{(t.namespaceURI===r.SVG_NS?r.box:r.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}}Hs.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"];let{format:Ws}=Se,{series:qs}=ss,$s=class{constructor(t,e,i,s,n){const r=t.chart.inverted,o=t.reversed;this.axis=t;const a=this.isNegative=!!i!=!!o;this.options=e=e||{},this.x=s,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=n,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(r?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?a?"right":"left":"center")}destroy(){it(this,this.axis)}render(t){let e=this.axis.chart,i=this.options,s=i.format,n=(s?Ws(s,this,e):i.formatter?.call(this,this))||"";if(this.label)this.label.attr({text:n,visibility:"hidden"});else{this.label=e.renderer.label(n,null,void 0,i.shape,void 0,void 0,i.useHTML,!1,"stack-labels");let s={r:i.borderRadius||0,text:n,padding:Mt(i.padding,5),visibility:"hidden"};e.styledMode||(s.fill=i.backgroundColor,s.stroke=i.borderColor,s["stroke-width"]=i.borderWidth,this.label.css(i.style||{})),this.label.attr(s),this.label.added||this.label.add(t)}
45this.label.labelrank=e.plotSizeY,lt(this,"afterRender")}setOffset(t,e,i,s,n,r){let{alignOptions:o,axis:a,label:l,options:h,textAlign:c}=this,d=a.chart,u=this.getStackBox({xOffset:t,width:e,boxBottom:i,boxTop:s,defaultX:n,xAxis:r}),{verticalAlign:p}=o;if(l&&u){let t,e=l.getBBox(void 0,0),i=l.padding,s="justify"===Mt(h.overflow,"justify");o.x=h.x||0,o.y=h.y||0;let{x:n,y:r}=this.adjustStackPosition({labelBox:e,verticalAlign:p,textAlign:c});u.x-=n,u.y-=r,l.align(o,!1,u),(t=d.isInsidePlot(l.alignAttr.x+o.x+n,l.alignAttr.y+o.y+r))||(s=!1),s&&qs.prototype.justifyDataLabel.call(a,l,o,l.alignAttr,e,u),l.attr({x:l.alignAttr.x,y:l.alignAttr.y,rotation:h.rotation,rotationOriginX:e.width*ht(h.textAlign||"center"),rotationOriginY:e.height/2}),Mt(!s&&h.crop,!0)&&(t=bt(l.x)&&bt(l.y)&&d.isInsidePlot(l.x-i+(l.width||0),l.y)&&d.isInsidePlot(l.x+i,l.y)),l[t?"show":"hide"]()}lt(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:i}){return{x:t.width/2+t.width/2*(2*ht(i)-1),y:t.height/2*2*(1-ht(e))}}getStackBox(t){let e=this.axis,i=e.chart,{boxTop:s,defaultX:n,xOffset:r,width:o,boxBottom:a}=t,l=e.stacking.usePercentage?100:Mt(s,this.total,0),h=e.toPixels(l),c=t.xAxis||i.xAxis[0],d=Mt(n,c.translate(this.x))+r,u=Math.abs(h-e.toPixels(a||bt(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),p=i.inverted,f=this.isNegative;return p?{x:(f?h:h-u)-i.plotLeft,y:c.height-d-o+c.top-i.plotTop,width:u,height:o}:{x:d+c.transB-i.plotLeft,y:(f?h-u:h)-i.plotTop,width:o,height:u}}},{getDeferredAnimation:js}=le,{series:{prototype:Gs}}=ss;function Vs(){let t=this.inverted;this.axes.forEach((t=>{t.stacking?.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),this.series.forEach((e=>{let i=e.xAxis?.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,Mt(e.options.stack,""),t?i.top:i.left,t?i.height:i.width].join(","))}))}function Xs(){let t=this.stacking;if(t){let e=t.stacks;At(e,((t,i)=>{it(t),delete e[i]})),t.stackTotalGroup?.destroy()}}function Ys(){this.stacking||(this.stacking=new tn(this))}function Us(t,e,i,s){return!et(t)||t.x!==e||s&&t.stackKey!==s?t={x:e,index:0,key:s,stackKey:s}:t.index++,t.key=[i,e,t.index].join(","),t}function Ks(){let t,e=this,i=e.yAxis,s=e.stackKey||"",n=i.stacking.stacks,r=e.getColumn("x",!0),o=e.options.stacking,a=e[o+"Stacker"];a&&[s,"-"+s].forEach((i=>{let s,o,l,h=r.length;for(;h--;)s=r[h],t=e.getStackIndicator(t,s,e.index,i),o=n[i]?.[s],(l=o?.points[t.key||""])&&a.call(e,l,o,h)}))}function Zs(t,e,i){let s=e.total?100/e.total:0;t[0]=Z(t[0]*s),t[1]=Z(t[1]*s),this.stackedYData[i]=t[1]}function Qs(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&this.chart.series.length>1?Gs.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function Js(t,e){let i,s,n,r,o,a,l,h=e||this.options.stacking;if(!h||!this.reserveSpace()||({group:"xAxis"}[h]||"yAxis")!==t.coll)return;let c=this.getColumn("x",!0),d=this.getColumn(this.pointValKey||"y",!0),u=[],p=d.length,f=this.options,g=f.threshold||0,m=f.startFromThreshold?g:0,v=f.stack,b=e?`${this.type},${h}`:this.stackKey||"",y="-"+b,x=this.negStacks,w=t.stacking,S=w.stacks,E=w.oldStacks;for(w.stacksTouched+=1,l=0;l<p;l++){let e=c[l]||0,p=d[l],f=bt(p)&&p||0;a=(i=this.getStackIndicator(i,e,this.index)).key||"",S[o=(s=x&&f<(m?0:g))?y:b]||(S[o]={}),S[o][e]||(E[o]?.[e]?(S[o][e]=E[o][e],S[o][e].total=null):S[o][e]=new $s(t,t.options.stackLabels,!!s,e,v)),n=S[o][e],null!==p?(n.points[a]=n.points[this.index]=[Mt(n.cumulative,m)],et(n.cumulative)||(n.base=a),n.touched=w.stacksTouched,i.index>0&&!1===this.singleStacks&&(n.points[a][0]=n.points[this.index+","+e+",0"][0])):(delete n.points[a],delete n.points[this.index]);let C=n.total||0;"percent"===h?(r=s?b:y,C=x&&S[r]?.[e]?(r=S[r][e]).total=Math.max(r.total||0,C)+Math.abs(f):Z(C+Math.abs(f))):"group"===h?bt(p)&&C++:C=Z(C+f),n.cumulative="group"===h?(C||1)-1:Z(Mt(n.cumulative,m)+f),n.total=C,null!==p&&(n.points[a].push(n.cumulative),u[l]=n.cumulative,n.hasValidPoints=!0)}"percent"===h&&(w.usePercentage=!0),"group"!==h&&(this.stackedYData=u),w.oldStacks={}}class tn{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,i=this.axis,s=i.series,n="xAxis"===i.coll,r=i.options.reversedStacks,o=s.length;for(this.resetStacks(),this.usePercentage=!1,e=o;e--;)t=s[r?e:o-e-1],n&&t.setGroupedPoints(i),t.setStackedPoints(i);if(!n)for(e=0;e<o;e++)s[e].modifyStacks();lt(i,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,At(this.stacks,(t=>{At(t,(t=>{t.cumulative=t.total}))})))}resetStacks(){At(this.stacks,(t=>{At(t,((e,i)=>{bt(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[i]):(e.total=null,e.cumulative=null)}))}))}renderStackTotals(){let t=this.axis,e=t.chart,i=e.renderer,s=this.stacks,n=js(e,t.options.stackLabels?.animation||!1),r=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}
vendor: 4,448 bytes, line 45
45).add();r.translate(e.plotLeft,e.plotTop),At(s,(t=>{At(t,(t=>{t.render(r)}))})),r.animate({opacity:1},n)}}(T||(T={})).compose=function(t,e,i){let s=e.prototype,n=i.prototype;s.getStacks||(V(t,"init",Ys),V(t,"destroy",Xs),s.getStacks=Vs,n.getStackIndicator=Us,n.modifyStacks=Ks,n.percentStacker=Zs,n.setGroupedPoints=Qs,n.setStackedPoints=Js)};let en=T;class sn extends ps{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode;[this,...this.zones].forEach(((s,n)=>{let r,o=s.graph,a=o?"animate":"attr",l=s.dashStyle||t.dashStyle;if(o?(o.endX=this.preventGraphAnimation?null:e.xMap,o.animate({d:e})):e.length&&(s.graph=o=this.chart.renderer.path(e).addClass("highcharts-graph"+(n?` highcharts-zone-graph-${n-1} `:" ")+(n&&s.className||"")).attr({zIndex:1}).add(this.group)),o&&!i&&(r={stroke:!n&&t.lineColor||s.color||this.color||"var(--highcharts-neutral-color-20)","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},l?r.dashstyle=l:"square"!==t.linecap&&(r["stroke-linecap"]=r["stroke-linejoin"]="round"),o[a](r),t.shadow)){let e=this.chart.inverted,i={filterUnits:"userSpaceOnUse"},s=St(t.shadow)?Et(e?{}:i,t.shadow):!!e||i;o.shadow(s)}o&&(o.startX=e.xMap,o.isArea=e.isArea)}))}getGraphPath(t,e,i){let s,n=this,r=n.options,o=[],a=[],l=r.step,h=(t=t||n.points).reversed;return h&&t.reverse(),(l={right:1,center:2}[l]||l&&3)&&h&&(l=4-l),(t=this.getValidPoints(t,!1,r.nullInteraction||!(r.connectNulls&&!e&&!i))).forEach((function(h,c){let d,u=h.plotX,p=h.plotY,f=t[c-1],g=h.isNull||"number"!=typeof p;(h.leftCliff||f?.rightCliff)&&!i&&(s=!0),g&&!et(e)&&c>0?s=!r.connectNulls:g&&!e?s=!0:(0===c||s?d=[["M",h.plotX,h.plotY]]:n.getPointSpline?d=[n.getPointSpline(t,h,c)]:l?(d=1===l?[["L",f.plotX,p]]:2===l?[["L",(f.plotX+u)/2,f.plotY],["L",(f.plotX+u)/2,p]]:[["L",u,f.plotY]]).push(["L",u,p]):d=[["L",u,p]],a.push(h.x),l&&(a.push(h.x),2===l&&a.push(h.x)),o.push.apply(o,d),s=!1)})),o.xMap=a,n.graphPath=o,o}}sn.defaultOptions=Et(ps.defaultOptions,{legendSymbol:"lineMarker"}),ss.registerSeriesType("line",sn);let{seriesTypes:{line:nn}}=ss;class rn extends nn{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach(((i,s)=>{let n={},r=i.fillColor||e.fillColor,o=i.area,a=o?"animate":"attr";o?(o.endX=this.preventGraphAnimation?null:t.xMap,o.animate({d:t})):(n.zIndex=0,(o=i.area=this.chart.renderer.path(t).addClass("highcharts-area"+(s?` highcharts-zone-area-${s-1} `:" ")+(s&&i.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(n.fill=r||i.color||this.color,n["fill-opacity"]=r?1:e.fillOpacity??.75,o.css({pointerEvents:this.stickyTracking?"none":"auto"})),o[a](n),o.startX=t.xMap,o.shiftUnit=e.step?2:1}))}getGraphPath(t){let e,i,s,n=nn.prototype.getGraphPath,r=this.options,o=r.stacking,a=this.yAxis,l=[],h=[],c=this.index,d=a.stacking.stacks[this.stackKey],u=r.threshold,p=Math.round(a.getThreshold(r.threshold)),f=Mt(r.connectNulls,"percent"===o),g=function(i,s,n){let r,f,g=t[i],m=t[s],v=o&&d[g.x].points[c],b=g[n+"Null"]||0,y=g[n+"Cliff"]||0,x=!0;v&&(y||b)?(r=(b?v[0]:v[1])+y,f=v[0]+y,x=!!b):!o&&m&&(m.isNull||!et(m.plotY))&&(r=f=u),void 0!==r&&(h.push({plotX:e,plotY:null===r?p:a.getThreshold(r),isNull:x,isCliff:!0}),l.push({plotX:e,plotY:null===f?p:a.getThreshold(f),doCurve:!1}))};t=t||this.points,o&&(t=this.getStackPoints(t));for(let n=0,r=t.length;n<r;++n)o||(t[n].leftCliff=t[n].rightCliff=t[n].leftNull=t[n].rightNull=void 0),i=t[n].isNull||!et(t[n].plotY),e=Mt(t[n].rectPlotX,t[n].plotX),s=o?Mt(t[n].yBottom,p):p,(!i||f)&&(f||g(n,n-1,"left"),i&&!o&&f||(h.push(t[n]),l.push({x:n,plotX:e,plotY:s})),f||g(n,n+1,"right"));let m=n.call(this,h,!0,!0);l.reversed=!0;let v=n.call(this,l,!0,!0),b=v[0];b&&"M"===b[0]&&(v[0]=["L",b[1],b[2]]);let y=m.concat(v);y.length&&y.push(["Z"]);let x=n.call(this,h,!1,f);return this.chart.series.length>1&&o&&h.some((t=>t.isCliff))&&(y.hasStackedCliffs=x.hasStackedCliffs=!0),y.xMap=m.xMap,this.areaPath=y,x}getStackPoints(t){let e=this,i=[],s=[],n=this.xAxis,r=this.yAxis,o=r.stacking.stacks[this.stackKey],a={},l=r.series,h=l.length,c=r.options.reversedStacks?1:-1,d=l.indexOf(e),u=r.getThreshold(e.options.threshold||0);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,a[t[e].x]=t[e];At(o,(function(t,e){null!==t.total&&s.push(e)})),s.sort((function(t,e){return t-e}));let p=l.map((t=>t.visible));
vendor: 4,631 bytes, line 45
45s.forEach((function(t,f){let g,m,v=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach((function(i){let n=1===i?"rightNull":"leftNull",r=o[s[f+i]],u=0;if(r){let i=d;for(;i>=0&&i<h;){let s=l[i].index;!(g=r.points[s])&&(s===e.index?a[t][n]=!0:p[i]&&(m=o[t].points[s])&&(u-=m[1]-m[0])),i+=c}}a[t][1===i?"rightCliff":"leftCliff"]=u}));else{let e=d;for(;e>=0&&e<h;){let i=l[e].index;if(g=o[t].points[i]){v=g[1];break}e+=c}v||(v=0);let s=r.positiveValuesOnly&&v<=0?u:r.translate(v,!1,!0,!1,!0);i.push({isNull:!0,plotX:n.translate(t,!1,!1,!1,!0),x:t,plotY:s,yBottom:s})}}))}return i}}rn.defaultOptions=Et(nn.defaultOptions,{threshold:0,legendSymbol:"areaMarker"}),ot(rn.prototype,{singleStacks:!1}),ss.registerSeriesType("area",rn);let{line:on}=ss.seriesTypes;class an extends on{getPointSpline(t,e,i){let s,n,r,o,a=e.plotX||0,l=e.plotY||0,h=t[i-1],c=t[i+1];function d(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(d(h)&&d(c)){let t=h.plotX||0,i=h.plotY||0,d=c.plotX||0,u=c.plotY||0,p=0;s=(1.5*a+t)/2.5,n=(1.5*l+i)/2.5,r=(1.5*a+d)/2.5,o=(1.5*l+u)/2.5,r!==s&&(p=(o-n)*(r-a)/(r-s)+l-o),n+=p,o+=p,n>i&&n>l?(n=Math.max(i,l),o=2*l-n):n<i&&n<l&&(n=Math.min(i,l),o=2*l-n),o>u&&o>l?(o=Math.max(u,l),n=2*l-o):o<u&&o<l&&(o=Math.min(u,l),n=2*l-o),e.rightContX=r,e.rightContY=o,e.controlPoints={low:[s,n],high:[r,o]}}let u=["C",Mt(h.rightContX,h.plotX,0),Mt(h.rightContY,h.plotY,0),Mt(s,a,0),Mt(n,l,0),a,l];return h.rightContX=h.rightContY=void 0,u}}an.defaultOptions=Et(on.defaultOptions),ss.registerSeriesType("spline",an);let ln=an,{area:hn,area:{prototype:cn}}=ss.seriesTypes;class dn extends ln{}dn.defaultOptions=Et(ln.defaultOptions,hn.defaultOptions),ot(dn.prototype,{getGraphPath:cn.getGraphPath,getStackPoints:cn.getStackPoints,drawGraph:cn.drawGraph}),ss.registerSeriesType("areaspline",dn);let{animObject:un}=le,{parse:pn}=ie,{noop:fn}=q;class gn extends ps{animate(t){let e,i,s=this,n=this.yAxis,r=n.pos,o=n.reversed,a=s.options,{clipOffset:l,inverted:h}=this.chart,c={},d=h?"translateX":"translateY";t&&l?(c.scaleY=.001,i=K(n.toPixels(a.threshold||0),r,r+n.len),h?c.translateX=(i+=o?-Math.floor(l[+!!h]):Math.ceil(l[h?3:2]))-n.len:c.translateY=i+=o?Math.ceil(l[+!!h]):-Math.floor(l[h?3:2]),s.clipBox&&s.setClip(),s.group.attr(c)):(e=Number(s.group.attr(d)),s.group.animate({scaleY:1},ot(un(s.options.animation),{step:function(t,i){s.group&&(c[d]=e+i.pos*(r-e),s.group.attr(c))}})))}init(t,e){super.init.apply(this,arguments);let i=this;(t=i.chart).hasRendered&&t.series.forEach((function(t){t.type===i.type&&(t.isDirty=!0)}))}getColumnMetrics(){let t,e=this,i=e.options,s=e.xAxis,n=e.yAxis,r=s.options.reversedStacks,o=s.reversed&&!r||!s.reversed&&r,a={},l=0;!1===i.grouping?l=1:e.chart.series.forEach((function(i){let s,r=i.yAxis,o=i.options;i.type===e.type&&i.reserveSpace()&&n.len===r.len&&n.pos===r.pos&&(o.stacking&&"group"!==o.stacking?(void 0===a[t=i.stackKey]&&(a[t]=l++),s=a[t]):!1!==o.grouping&&(s=l++),i.columnIndex=s)}));let h=Math.min(Math.abs(s.transA)*(!s.brokenAxis?.hasBreaks&&s.ordinal?.slope||i.pointRange||s.closestPointRange||s.tickInterval||1),s.len),c=h*i.groupPadding,d=(h-2*c)/(l||1),u=Math.min(i.maxPointWidth||s.len,Mt(i.pointWidth,d*(1-2*i.pointPadding))),p=(e.columnIndex||0)+ +!!o;return e.columnMetrics={width:u,offset:(d-u)/2+(c+p*d-h/2)*(o?-1:1),paddedWidth:d,columnCount:l},e.columnMetrics}crispCol(t,e,i,s){let n=this.borderWidth,r=this.chart.inverted;return s=J(e+s,n,r)-(e=J(e,n,r)),this.options.crisp&&(i=J(t+i,n)-(t=J(t,n))),{x:t,y:e,width:i,height:s}}adjustForMissingColumns(t,e,i,s){if(!i.isNull&&s.columnCount>1){let n=this.xAxis.series.filter((t=>t.visible)).map((t=>t.index)),r=0,o=0;At(this.xAxis.stacking?.stacks,(t=>{let e="number"==typeof i.x?t[i.x.toString()]?.points:void 0,s=e?.[this.index],a={};if(e&&xt(s)){let t=this.index,i=Object.keys(e).filter((t=>!t.match(",")&&e[t]&&e[t].length>1)).map(parseFloat).filter((t=>-1!==n.indexOf(t))).filter((e=>{let i=this.chart.series[e].options,s=i.stacking&&i.stack;if(et(s)){if(bt(a[s]))return t===e&&(t=a[s]),!1;a[s]=e}return!0})).sort(((t,e)=>e-t));r=i.indexOf(t),o=i.length}})),r=this.xAxis.reversed?o-1-r:r;let a=(o-1)*s.paddedWidth+e;t=(i.plotX||0)+a/2-e-r*s.paddedWidth}return t}translate(){let t=this,e=t.chart,i=t.options,s=t.dense=t.closestPointRange*t.xAxis.transA<2,n=t.borderWidth=i.borderWidth??+!s,r=t.xAxis,o=t.yAxis,a=i.threshold,l=i.minPointLength??5,h=t.getColumnMetrics(),c=h.width,d=t.pointXOffset=h.offset,u=t.dataMin,p=t.dataMax,f=t.translatedThreshold=o.getThreshold(a),g=t.barW=Math.max(c,1+2*n);i.pointPadding&&i.crisp&&(g=Math.ceil(g)),ps.prototype.translate.apply(t),t.points.concat(t.condemnedPoints).forEac
vendor: 11,164 bytes, line 45
45h((function(s){let n,m=s.yBottom??f,v=999+Math.abs(m),b=s.plotX||0,y=K(s.plotY,-v,o.len+v),x=Math.min(y,m),w=Math.max(y,m)-x,S=c,E=b+d,C=g;l&&Math.abs(w)<l&&(w=l,n=!o.reversed&&!s.negative||o.reversed&&s.negative,bt(a)&&bt(p)&&s.y===a&&p<=a&&(o.min||0)<a&&(u!==p||(o.max||0)<=a)&&(n=!n,s.negative=!s.negative),x=Math.abs(x-f)>l?m-(n?l:0):f-(n?l:0)),et(s.options.pointWidth)&&(E-=Math.round(((S=C=Math.ceil(s.options.pointWidth))-c)/2)),i.centerInCategory&&(E=t.adjustForMissingColumns(E,S,s,h)),s.barX=E,s.pointWidth=S,s.tooltipPos=e.inverted?[K(o.len+o.pos-e.plotLeft-y,o.pos-e.plotLeft,o.len+o.pos-e.plotLeft),r.len+r.pos-e.plotTop-E-C/2,w]:[r.left-e.plotLeft+E+C/2,K(y+o.pos-e.plotTop,o.pos-e.plotTop,o.len+o.pos-e.plotTop),w],s.shapeType=t.pointClass.prototype.shapeType||"roundedRect",s.shapeArgs=t.crispCol(E,x,C,s.isNull?0:w)})),lt(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let i,s,n,r=this.options,o=this.pointAttrToOptions||{},a=o.stroke||"borderColor",l=o["stroke-width"]||"borderWidth",h=t&&t.color||this.color,c=t&&t[a]||r[a]||h,d=t&&t.options.dashStyle||r.dashStyle,u=t?.[l]??r[l]??this[l]??1,p=t?.isNull&&r.nullInteraction?0:t?.opacity??r.opacity??1;t&&this.zones.length&&(s=t.getZone(),h=t.options.color||s&&(s.color||t.nonZonedColor)||this.color,s&&(c=s.borderColor||c,d=s.dashStyle||d,u=s.borderWidth||u)),e&&t&&(n=(i=Et(r.states[e],t.options.states?.[e]||{})).brightness,h=i.color||void 0!==n&&pn(h).brighten(i.brightness).get()||h,c=i[a]||c,u=i[l]||u,d=i.dashStyle||d,p=Mt(i.opacity,p));let f={fill:h,stroke:c,"stroke-width":u,opacity:t?.condemned?0:p};return d&&(f.dashstyle=d),f}drawPoints(t){let e;t||(t=this.points.concat(this.condemnedPoints));let i=this,s=this.chart,n=i.options,r=n.nullInteraction,{styledMode:o,renderer:a}=s,l=n.animationLimit||250;t.forEach((function(t){let h=t.plotY,c=t.graphic,d=!!c,u=c&&s.pointCount<l?"animate":"attr";if(bt(h)&&(null!==t.y||r)){if(e=t.shapeArgs,c&&t.hasNewShapeType()&&(c=c.destroy()),!c){let n=e;t.origin&&s.pointCount<l&&(n=Et(e,t.getOrigin(t.origin,e)),o||(n.opacity=0),d=!0,u="animate"),t.graphic=c=a[t.shapeType](n).add(t.group||i.group)}d&&c[u](Et(e)),o||c[u](i.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&n.shadow),c.addClass(t.getClassName(),!0).attr({visibility:t.visible?"inherit":"hidden"})}else c&&(t.graphic=c.destroy())}))}drawTracker(t=this.points){let e,i=this,s=i.chart,n=s.pointer,r=function(t){n?.normalize(t);let e=n?.getPointFromEvent(t);n&&e&&i.options.enableMouseTracking&&(s.isInsidePlot(t.chartX-s.plotLeft,t.chartY-s.plotTop,{visiblePlotOnly:!0})||i.allowOutsidePlotInteraction&&n?.inClass(t.target,"highcharts-point")||n?.inClass(t.target,"highcharts-data-label"))&&(n.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=xt(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){(e.div||e.element).point=t}))})),i._hasTracking||(i.trackerGroups?.reduce(((t,e)=>("dataLabelsGroup"===e?t.push(...i.dataLabelsGroups||[]):t.push(i[e]),t)),[]).forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(t){n?.onTrackerMouseOut(t)})).on("touchstart",r),!s.styledMode&&i.options.cursor&&t.css({cursor:i.options.cursor}))})),i._hasTracking=!0),lt(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),ps.prototype.remove.apply(t,arguments)}}gn.defaultOptions=Et(ps.defaultOptions,{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.2},select:{color:"var(--highcharts-neutral-color-20)",borderColor:"var(--highcharts-neutral-color-100)"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"var(--highcharts-background-color)"}),ot(gn.prototype,{directTouch:!0,getSymbol:fn,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),ss.registerSeriesType("column",gn);let mn=gn,{getDeferredAnimation:vn}=le,{format:bn}=Se;!function(t){function e(){return l(this).some((t=>t?.enabled))}function i(t,e,i,s,n){let{chart:r}=this,o=this.isCartesian&&r.inverted,{condemned:a,origin:l,plotX:h,plotY:c}=t,{crop:d=!0,distance:u,overflow:p="justify",rotation:f=0}=i,g=ht(i.align),m=ht(i.verticalAlign),v=t.pos(),b=et(h)&&et(c)&&r.isInsidePlot(h,Math.round(c),{inverted:o,paneCoordinates:!0,series:this}),y=this.visible&&t.visible&&et(h)&&(this.forceDL||a||b||Mt(i.inside,!!this.options.stacking)&&s&&r.isInsidePlot(h,o?s.x+1:s.y+s.height-1,{inverted:o,paneCoordinates:!0,series:this}));if(v){let h=e.getBBox(),c=e.getBBox(void 0,0);s=ot({x:v[0],y:Math.round(v[1]),width:0,height:0},s||{}),"plotEdges"===i.alignTo&&this.isCartesian&&(s[o?"x":"y"]=0,s[o?"width":"height"]=this.yAxis?.len||0),ot(i,{width:h.width,height:h.height});let b=0,x=0;bt(u)&&!i.inside&&(b=u*(1-2*g),x=u*(1-2*m)),e.align(Et(i,{x:(i.x||0)+b,y:(i.y||0)+x,width:c.width,height:c.height}),!1,s,!1),e.distX=b,e.distY=x,e.alignAttr.x+=g*(c.width-h.width),e.alignAttr.y+=m*(c.height-h.height);let w=e.alignAttr.x+(h.width-c.width)/2,S=e.alignAttr.y+(h.height-c.height)/2;if(l){let i=t.pos(!1,l.x,l.y);if(i){let s=[i[0]-v[0],i[1]-v[1]];(this.is("column")||t.plotHigh)&&(s[+!o]=0),e.attr({x:w+s[0],y:S+s[1],opacity:.01}),e.placed=!0,n=!1}}let E={"text-align":e.alignAttr["text-align"]||"center",x:w,y:S,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2};if((a||!y)&&(E.opacity=0),e[e.placed?"animate":"attr"](E),0===f&&!a&&"justify"===p&&y&&s.height>=0)this.justifyDataLabel(e,i,e.alignAttr,h,s,n);else if(d&&!a){let{x:t,y:i}=e.alignAttr;y=r.isInsidePlot(t,i,{paneCoordinates:!0,series:this})&&r.isInsidePlot(t+h.width-1,i+h.height-1,{paneCoordinates:!0,series:this})}i.shape&&!f&&e[n?"attr":"animate"]({anchorX:v[0],anchorY:v[1]})}e[n?"attr":"animate"]({visibility:y?"inherit":"hidden"}),e.placed=y}function s(t,e){lt(this,"initDataLabelsGroup",{index:t,zIndex:e?.zIndex}),this.dataLabelsGroup=this.dataLabelsGroups?.[t];let i=this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",e?.zIndex??6,this.dataLabelsParentGroups?.[t]);return this.dataLabelsGroups||(this.dataLabelsGroups=[]),this.dataLabelsGroups[t]=i,this.dataLabelsGroup=this.dataLabelsGroups[0],i}function n(t,e,i){let s=!!this.hasRendered,n=this.initDataLabelsGroup(t,i).attr({opacity:+s});return!s&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},e):n.attr({opacity:1})),n}function r(t){t=t||this.points;let e=this,i=e.chart,s=e.options,n=i.renderer,{backgroundColor:r,plotBackgroundColor:o}=i.options.chart,h=n.getContrast(yt(o)&&o||yt(r)&&r||"var(--highcharts-background-color)"),c=[],d=l(e),{animation:u,defer:p}=d[0],f=p?vn(i,u,e):{defer:0,duration:0};lt(this,"drawDataLabels"),e.hasDataLabels?.()&&t.concat(e.condemnedPoints).forEach((t=>{let r=t.dataLabels||[],o=t.color||e.color;It(a(d,t.dlOptions||t.options?.dataLabels)).forEach(((a,l)=>{let d,u,p,g,m=a.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let i=e.filter;if(i){let e=i.operator,s=t[i.property],n=i.value;return">"===e&&s>n||"<"===e&&s<n||">="===e&&s>=n||"<="===e&&s<=n||"=="===e&&s==n||"==="===e&&s===n||"!="===e&&s!=n||"!=="===e&&s!==n||!1}return!0}(t,a),{backgroundColor:v,borderColor:b,distance:y,style:x={}}=a,w=It(a.padding||0),S={},E=r[l],C=!E;if(m&&(u=et(d=Mt(a[t.formatPrefix+"Format"],a.format))?bn(d,t,i):(a[t.formatPrefix+"Formatter"]||a.formatter).call(t,a,t),p=a.rotation,!i.styledMode&&(x.color=Mt(a.color,x.color,yt(e.color)?e.color:void 0,"var(--highcharts-neutral-color-100)"),"contrast"===x.color?("none"!==v&&(g=v),t.contrastColor=n.getContrast("auto"!==g&&"contrast"!==g&&yt(g)&&g||(yt(o)?o:"")),x.color=g&&"contrast"!==g||a.inside||0>Ot(y||0)||s.stacking?t.contrastColor:h):delete t.contrastColor,s.cursor&&(x.cursor=s.cursor)),S={r:a.borderRadius??3,rotation:p,padding:w[0],paddingLeft:w[3%w.length],paddingRight:w[1%w.length],zIndex:1},i.styledMode||(S.fill="auto"===v?t.color:v,S.stroke="auto"===b?t.color:b,S["stroke-width"]=a.borderWidth),At(S,((t,e)=>{void 0===t&&delete S[e]}))),!E||m&&et(u)&&!(!E.div&&!E.text?.foreignObject)==!!a.useHTML&&(E.rotation&&a.rotation||E.rotation===a.rotation)||(E=void 0,C=!0),m&&et(u)&&""!==u&&(E?S.text=u:(E=n.label(u,0,0,a.shape,void 0,void 0,a.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(a.className||"")+(a.useHTML?" highcharts-tracker":"")),E)){E.options=a,E.attr(S),i.styledMode?x.width&&E.css({width:x.width,textOverflow:x.textOverflow,whiteSpace:x.whiteSpace}):E.css(x).shadow(a.shadow),lt(E,"beforeAddingDataLabel",{labelOptions:a,point:t});let s=c[l]=c[l]||this.initDataLabels(l,f,a);E.added||E.add(s),e.alignDataLabel(t,E,a,void 0,C),E.isActive=!0,r[l]&&r[l]!==E&&r[l].destroy(),r[l]=E}}));let l=r.length;for(;l--;)r[l]?.isActive?r[l].isActive=!1:(r[l]?.destroy(),r.splice(l,1));t.dataLabel=r[0],t.dataLabels=r})),lt(this,"afterDrawDataLabels")}function o(t,e,i,s,n,r){let o,a,l,h=this.chart,{align:c,verticalAlign:d}=e,{distX:u=0,distY:p=0}=t,f=t.box?0:t.padding||0,g=h.inverted?this.yAxis:this.xAxis,m=g?g.left-h.plotLeft:0,v=h.inverted?this.xAxis:this.yAxis,b=v?v.top-h.plotTop:0,{x:y=0,y:x=0}=e;return(o=(i.x||0)-u+f+m)<0&&("right"===c&&y>=0?(e.align="left",e.inside=!0,y-=u):y-=o,a=!0),(o=(i.x||0)+s.width-u-f+m)>h.plotWidth&&("left"===c&&y<=0?(e.align="right",e.inside=!0,y-=u):y+=h.plotWidth-o,a=!0),(o=(i.y||0)-p+f+b)<0&&("bottom"===d&&x>=0?(e.verticalAlign="top",e.inside=!0,x-=p):x-=o,l=!0),(o=(i.y||0)+s.height-p-f+b)>h.plotHeight&&("top"===d&&x<=0?(e.verticalAlign="bottom",e.inside=!0,x-=p):x+=h.plotHeight-o,l=!0),(a||l)&&(e.x=a?y:y+u,e.y=l?x:x+p,t.placed=!r,t.align(e,void 0,n)),a||l}function a(t,e){let i,s=[];if(xt(t)&&!xt(e))s=t.map((function(t){return Et(t,e)}));else if(xt(e)&&!xt(t))s=e.map((function(e){return Et(t,e)}));else if(xt(t)||xt(e)){if(xt(t)&&xt(e))for(i=Math.max(t.length,e.length);i--;)s[i]=Et(t[i],e[i])}else s=Et(t,e);return s}function l(t){let e=t.chart.options.plotOptions;return It(a(a(e?.series?.dataLabels,e?.[t.type]?.dataLabels),t.options.dataLabels))}t.compose=function(t){let l=t.prototype;l.initDataLabels||(l.initDataLabels=n,l.initDataLabelsGroup=s,l.alignDataLabel=i,l.drawDataLabels=r,l.justifyDataLabel=o,l.mergeArrays=a,l.hasDataLabels=e)}}(k||(k={}));let yn=k,{composed:xn}=q,{series:wn}=ss;function Sn(t,e,i,s,n){let{chart:r,options:o}=this,a=r.inverted,l=this.xAxis?.len||r.plotSizeX||0,h=this.yAxis?.len||r.plotSizeY||0,c=t.dlBox||t.shapeArgs,d=t.below??(t.plotY||0)>(this.translatedThreshold??h),u=i.inside??!!o.stacking;if(c){if(s=Et(c),"allow"!==i.overflow||!1!==i.crop||!1!==o.clip){s.y<0&&(s.height+=s.y,s.y=0);let t=s.y+s.height-h;t>0&&t<s.height-1&&(s.height-=t)}a&&(s={x:h-s.y-s.height,y:l-s.x-s.width,width:s.height,height:s.width}),u||(a?(s.x+=d?0:s.width,s.width=0):(s.y+=d?s.height:0,s.height=0))}i.align??(i.align=!a||u?"center":d?"right":"left"),i.verticalAlign??(i.verticalAlign=a||u?"middle":d?"to
45p":"bottom"),wn.prototype.alignDataLabel.call(this,t,e,i,s,n),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}(M||(M={})).compose=function(t){yn.compose(wn),Lt(xn,"ColumnDataLabel")&&(t.prototype.alignDataLabel=Sn)};let En=M;class Cn extends mn{}Cn.defaultOptions=Et(mn.defaultOptions,{}),ot(Cn.prototype,{inverted:!0}),ss.registerSeriesType("bar",Cn);let{column:An,line:Tn}=ss.seriesTypes;class kn extends Tn{applyJitter(){let t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(s,n){["x","y"].forEach((function(r,o){if(e[r]&&!s.isNull){let a=`plot${r.toUpperCase()}`,l=t[`${r}Axis`],h=e[r]*l.transA;if(l&&!l.logarithmic){let t,e=Math.max(0,(s[a]||0)-h),c=Math.min(l.len,(s[a]||0)+h);s[a]=e+(c-e)*((t=1e4*Math.sin(n+o*i))-Math.floor(t)),"x"===r&&(s.clientX=s.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}kn.defaultOptions=Et(Tn.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),ot(kn.prototype,{allowOutsidePlotInteraction:!0,drawTracker:An.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),V(kn,"afterTranslate",(function(){this.applyJitter()})),ss.registerSeriesType("scatter",kn);let{deg2rad:Mn}=q;(f=O||(O={})).getCenter=function(){let t,e,i,s=this.options,n=this.chart,r=2*(s.slicedOffset||0),o=n.plotWidth-2*r,a=n.plotHeight-2*r,l=s.center,h=Math.min(o,a),c=s.thickness,d=s.size,u=s.innerSize||0;"string"==typeof d&&(d=parseFloat(d)),"string"==typeof u&&(u=parseFloat(u));let p=[Mt(l?.[0],"50%"),Mt(l?.[1],"50%"),Mt(d&&d<0?void 0:s.size,"100%"),Mt(u&&u<0?void 0:s.innerSize||0,"0%")];for(e=0;e<4;++e)i=p[e],t=e<2||2===e&&/%$/.test(i),p[e]=_t(i,[o,a,h,p[2]][e])+(t?r:0);return p[3]>p[2]&&(p[3]=p[2]),bt(c)&&2*c<p[2]&&c>0&&(p[3]=p[2]-2*c),lt(this,"afterGetCenter",{positions:p}),p},f.getStartAndEndRadians=function(t,e){let i=bt(t)?t:0,s=bt(e)&&e>i&&e-i<360?e:i+360;return{start:Mn*(i+-90),end:Mn*(s+-90)}};let On=O,{setAnimation:Ln}=le;class _n extends Wi{getConnectorPath(t){let e=t.dataLabelPosition,i=t.options||{},s=i.connectorShape,n=this.connectorShapes[s]||s;return e&&n.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,i)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,i){super(t,e,i),this.half=0,this.name??(this.name=t.chart.options.lang.pieSliceName);const s=t=>{this.slice("select"===t.type)};V(this,"select",s),V(this,"unselect",s)}isValid(){return bt(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,i){let s=this.series;Ln(i,s.chart),e=Mt(e,!0),this.sliced=this.options.sliced=t??!this.sliced,s.options.data&&(s.options.data[s.data.indexOf(this)]=this.options),this.graphic?.animate(this.getTranslate())}}ot(_n.prototype,{connectorShapes:{fixedOffset:function(t,e,i){let s=e.breakAt,n=e.touchingSliceAt,r=i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*s.x-n.x,2*s.y-n.y,s.x,s.y]:["L",s.x,s.y];return[["M",t.x,t.y],r,["L",n.x,n.y]]},straight:function(t,e){let i=e.touchingSliceAt;return[["M",t.x,t.y],["L",i.x,i.y]]},crookedLine:function(t,e,i){let{angle:s=this.angle||0,breakAt:n,touchingSliceAt:r}=e,{series:o}=this,[a,l,h]=o.center,c=h/2,{plotLeft:d,plotWidth:u}=o.chart,p="left"===t.alignment,{x:f,y:g}=t,m=n.x;if(i.crookDistance){let t=_t(i.crookDistance,1);m=p?a+c+(u+d-a-c)*(1-t):d+(a-c)*t}else m=a+(l-g)*Math.tan(s-Math.PI/2);let v=[["M",f,g]];return(p?m<=f&&m>=n.x:m>=f&&m<=n.x)&&v.push(["L",m,g]),v.push(["L",n.x,n.y],["L",r.x,r.y]),v}}});let{getStartAndEndRadians:Pn}=On,{noop:Dn}=q;class In extends ps{animate(t){let e=this,i=e.points,s=e.startAngleRad;
vendor: 4,103 bytes, line 45
45t||i.forEach((function(t){let i=t.graphic,n=t.shapeArgs;i&&n&&(i.attr({r:Mt(t.startR,e.center&&e.center[3]/2),start:s,end:s}),i.animate({r:n.r,start:n.start,end:n.end},e.options.animation))}))}drawEmpty(){let t,e,i=this.startAngleRad,s=this.endAngleRad,n=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,s).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:$e.arc(t,e,this.center[2]/2,0,{start:i,end:s,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"var(--highcharts-neutral-color-20)"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getXPos(t,e,i,s){let n=this.center,r=this.radii?this.radii[i.index]||0:n[2]/2,o=s.dataLabelPosition?.distance||0,a=Math.asin(K((t-n[1])/(r+o),-1,1));return n[0]+Math.cos(a)*(r+o)*(e?-1:1)+(o>0?e?-5:5:0)}hasData(){return this.points.some((t=>t.visible))}redrawPoints(){let t,e,i,s,n=this,r=n.chart;this.drawEmpty(),n.group&&!r.styledMode&&n.group.shadow(n.options.shadow),n.points.forEach((function(o){let a={};e=o.graphic,!o.isNull&&e?(s=o.shapeArgs,t=o.getTranslate(),r.styledMode||(i=n.pointAttribs(o,o.selected&&"select")),o.delayedRendering?(e.setRadialReference(n.center).attr(s).attr(t),r.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}),o.delayedRendering=!1):(e.setRadialReference(n.center),r.styledMode||Et(!0,a,i),Et(!0,a,s,t),e.animate(a)),e.attr({visibility:o.visible?"inherit":"hidden"}),e.addClass(o.getClassName(),!0)):e&&(o.graphic=e.destroy())}))}sortByAngle(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))}translate(t){lt(this,"translate"),this.generatePoints();let e,i,s,n,r,o,a,l=this.options,h=l.slicedOffset,c=Pn(l.startAngle,l.endAngle),d=this.startAngleRad=c.start,u=(this.endAngleRad=c.end)-d,p=this.points,f=l.ignoreHiddenPoint,g=p.length,m=0;for(t||(this.center=t=this.getCenter()),o=0;o<g;o++){a=p[o],e=d+m*u,a.isValid()&&(!f||a.visible)&&(m+=a.percentage/100),i=d+m*u;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:e,end:i};a.shapeType="arc",a.shapeArgs=l,(s=(i+e)/2)>1.5*Math.PI?s-=2*Math.PI:s<-Math.PI/2&&(s+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(s)*h),translateY:Math.round(Math.sin(s)*h)},n=Math.cos(s)*t[2]/2,r=Math.sin(s)*t[2]/2,a.tooltipPos=[t[0]+.7*n,t[1]+.7*r],a.half=+(s<-Math.PI/2||s>Math.PI/2),a.angle=s}lt(this,"afterTranslate")}updateTotals(){let t,e,i=this.points,s=i.length,n=this.options.ignoreHiddenPoint,r=0;for(t=0;t<s;t++)(e=i[t]).isValid()&&(!n||e.visible)&&(r+=e.y);for(t=0,this.total=r;t<s;t++)(e=i[t]).percentage=r>0&&(e.visible||!n)?e.y/r*100:0,e.total=r}}In.defaultOptions=Et(ps.defaultOptions,{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.isNull?void 0:this.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"var(--highcharts-background-color)",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),ot(In.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:mn.prototype.drawTracker,getCenter:On.getCenter,getSymbol:Dn,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:mn.prototype.pointAttribs,pointClass:_n,requireSorting:!1,searchPoint:Dn,trackerGroups:["group","dataLabelsGroup"]}),ss.registerSeriesType("pie",In);let{composed:Bn,noop:Nn}=q,{distribute:zn}=Ee,{series:Rn}=ss;!function(t){let e={radialDistributionY:function(t,e){return(e.dataLabelPosition?.top||0)+t.distributeBox.pos}
vendor: 1,310 bytes, line 45
45,radialDistributionX:function(t,e,i,s,n){let r=n.dataLabelPosition;return t.getXPos(i<(r?.top||0)+2||i>(r?.bottom||0)-2?s:i,e.half,e,n)},justify:function(t,e,i,s){return s[0]+(t.half?-1:1)*(i+(e.dataLabelPosition?.distance||0))},alignToPlotEdges:function(t,e,i,s){let n=t.getBBox().width;return e?n+s:i-n-s},alignToConnectors:function(t,e,i,s){let n,r=0;return t.forEach((function(t){(n=t.dataLabel.getBBox().width)>r&&(r=n)})),e?r+s:i-r-s}};function i(t,e){let i=Math.PI/2,{start:s=0,end:n=0}=t.shapeArgs||{},r=t.angle||0;e>0&&s<i&&n>i&&r>i/2&&r<1.5*i&&(r=r<=i?Math.max(i/2,(s+i)/2):Math.min(1.5*i,(i+n)/2));let{center:o,options:a}=this,l=o[2]/2,h=Math.cos(r),c=Math.sin(r),d=o[0]+h*l,u=o[1]+c*l,p=Math.min((a.slicedOffset||0)+(a.borderWidth||0),e/5);return{natural:{x:d+h*e,y:u+c*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{angle:r,breakAt:{x:d+h*p,y:u+c*p},touchingSliceAt:{x:d,y:u}},distance:e}}function s(){let t,e,i,s=this,n=s.points,r=s.chart,o=r.plotWidth,a=r.plotHeight,l=r.plotLeft,h=Math.round(r.chartWidth/3),c=s.center,d=c[2]/2,u=c[1],p=[[],[]],f=[0,0,0,0],g=s.dataLabelPositioners,m=0;s.visible&&s.hasDataLabels?.()&&(n.forEach((t=>{(t.dataLabels||[]).forEach((t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)}))}
vendor: 4,843 bytes, line 45
45)),Rn.prototype.drawDataLabels.apply(s),n.forEach((t=>{(t.dataLabels||[]).forEach(((e,i)=>{let s=c[2]/2,n=e.options,r=_t(n?.distance||0,s);0===i&&p[t.half].push(t),!et(n?.style?.width)&&e.getBBox().width>h&&(e.css({width:Math.round(.7*h)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,r),m=Math.max(m,r)}))})),p.forEach(((t,n)=>{let h,p,v,b=t.length,y=[],x=0;b&&(s.sortByAngle(t,n-.5),m>0&&(h=Math.max(0,u-d-m),p=Math.min(u+d+m,r.plotHeight),t.forEach((t=>{(t.dataLabels||[]).forEach((e=>{let i=e.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,u-d-i.distance),i.bottom=Math.min(u+d+i.distance,r.plotHeight),x=e.getBBox().height||21,e.lineHeight=r.renderer.fontMetrics(e.text||e).h+2*e.padding,t.distributeBox={target:(e.dataLabelPosition?.natural.y||0)-i.top+e.lineHeight/2,size:x,rank:t.y},y.push(t.distributeBox))}))})),zn(y,v=p+x-h,v/5)),t.forEach((r=>{(r.dataLabels||[]).forEach((h=>{let u=h.options||{},p=r.distributeBox,m=h.dataLabelPosition,v=m?.natural.y||0,b=u.connectorPadding||0,x=h.lineHeight||21,w=(x-h.getBBox().height)/2,S=0,E=v,C="inherit";if(m){if(y&&et(p)&&m.distance>0&&(void 0===p.pos?C="hidden":(i=p.size,E=g.radialDistributionY(r,h))),u.justify)S=g.justify(r,h,d,c);else switch(u.alignTo){case"connectors":S=g.alignToConnectors(t,n,o,l);break;case"plotEdges":S=g.alignToPlotEdges(h,n,o,l);break;default:S=g.radialDistributionX(s,r,E-w,v,h)}if(m.attribs={visibility:C,align:m.alignment},m.posAttribs={x:S+(u.x||0)+({left:b,right:-b}[m.alignment]||0),y:E+(u.y||0)-x/2},m.computed.x=S,m.computed.y=E-w,Mt(u.crop,!0)){let t;S-(e=h.getBBox().width)<b&&1===n?(t=Math.round(e-S+b),f[3]=Math.max(t,f[3])):S+e>o-b&&0===n&&(t=Math.round(S+e-o+b),f[1]=Math.max(t,f[1])),E-i/2<0?f[0]=Math.max(Math.round(i/2-E),f[0]):E+i/2>a&&(f[2]=Math.max(Math.round(E+i/2-a),f[2])),m.sideOverflow=t}}}))})))})),(0===Y(f)||this.verifyDataLabelOverflow(f))&&(this.placeDataLabels(),this.points.forEach((e=>{e.dataLabels?.forEach(((i,n)=>{let{connectorColor:o,connectorWidth:a=1}=i.options||{},l=i.dataLabelPosition;if(bt(a)){let h;t=i.connector,l&&l.distance>0?(h=!t,t||(i.connector=t=r.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(s.dataLabelsGroups?.[n])),r.styledMode||t.attr({"stroke-width":a,stroke:o||e.color||"var(--highcharts-neutral-color-60)"}),t[h?"attr":"animate"]({d:e.getConnectorPath(i)}),t.attr({visibility:l.attribs?.visibility})):t&&(i.connector=t.destroy())}}))}))))}function n(){this.points.forEach((t=>{(t.dataLabels||[]).forEach((t=>{let e=t.dataLabelPosition;e?(e.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-e.sideOverflow,0)+"px",textOverflow:t.options?.style?.textOverflow||"ellipsis"}),t.shortened=!0),t.attr(e.attribs),t[t.moved?"animate":"attr"](e.posAttribs),t.moved=!0):t&&t.attr({y:-9999})})),delete t.distributeBox}),this)}function r(t){let e=this.center,i=this.options,s=i.center,n=i.minSize||80,r=n,o=null!==i.size;return!o&&(null!==s[0]?r=Math.max(e[2]-Math.max(t[1],t[3]),n):(r=Math.max(e[2]-t[1]-t[3],n),e[0]+=(t[3]-t[1])/2),null!==s[1]?r=K(r,n,e[2]-Math.max(t[0],t[2])):(r=K(r,n,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),r<e[2]?(e[2]=r,e[3]=Math.min(i.thickness?Math.max(0,r-2*i.thickness):Math.max(0,_t(i.innerSize||0,r)),r),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0),o}t.compose=function(t){if(yn.compose(Rn),Lt(Bn,"PieDataLabel")){let o=t.prototype;o.dataLabelPositioners=e,o.alignDataLabel=Nn,o.drawDataLabels=s,o.getDataLabelPosition=i,o.placeDataLabels=n,o.verifyDataLabelOverflow=r}}}(L||(L={}));let Fn=L;(g=_||(_={})).getCenterOfPoints=function(t){let e=t.reduce(((t,e)=>(t.x+=e.x,t.y+=e.y,t)),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}},g.getDistanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},g.getAngleBetweenPoints=function(t,e){return Math.atan2(e.x-t.x,e.y-t.y)},g.pointInPolygon=function({x:t,y:e},i){let s,n,r=i.length,o=!1;for(s=0,n=r-1;s<r;n=s++){let[r,a]=i[s],[l,h]=i[n];a>e!=h>e&&t<(l-r)*(e-a)/(h-a)+r&&(o=!o)}return o};let{pointInPolygon:Hn}=_;function Wn(t,e){let i,s=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),s=!0,t[t.isOld||t.placed?"animate":"attr"]({opacity:i},void 0,(function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})})),lt(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),s}let{defaultOptions:qn}=Qt,{noop:$n}=q,jn={radius:0,scope:"stack",where:void 0},Gn=$n,Vn=$n;function Xn(t,e,i,s,n={}){let r=Gn(t,e,i,s,n),{brStart:o=!0,brEnd:a=!0,innerR:l=0,r:h=i,start:c=0,end:d=0}=n;if(n.open||!n.borderRadius)return r;let u=d-c,p=Math.sin(u/2),f=Math.max(Math.min(_t(n.borderRadius||0,h-l),(h-l)/2,h*p/(1+p)),0),g=Math.min(f,u/Math.PI*2*l),m=r.length-1;for(;m--;
vendor: 2,902 bytes, line 45
45)(o||0!==m&&3!==m)&&(a||1!==m&&2!==m)&&function(t,e,i){let s,n,r,o=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==o[0]&&"L"!==o[0]||"A"!==a[0]?"A"===o[0]&&("M"===a[0]||"L"===a[0])&&(s=a,n=o):(s=o,n=a,r=!0),s&&n&&n.params){let o=n[1],a=n[5],l=n.params,{start:h,end:c,cx:d,cy:u}=l,p=a?o-i:o+i,f=p?Math.asin(i/p):0,g=a?f:-f,m=Math.cos(f)*p;r?(l.start=h+g,s[1]=d+m*Math.cos(h),s[2]=u+m*Math.sin(h),t.splice(e+1,0,["A",i,i,0,0,1,d+o*Math.cos(l.start),u+o*Math.sin(l.start)])):(l.end=c-g,n[6]=d+o*Math.cos(l.end),n[7]=u+o*Math.sin(l.end),t.splice(e+1,0,["A",i,i,0,0,1,d+m*Math.cos(c),u+m*Math.sin(c)])),n[4]=Math.abs(l.end-l.start)<Math.PI?0:1}}(r,m,m>1?g:f);return r}function Yn(){if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:t,yAxis:e}=this,i="percent"===t.stacking,s=qn.plotOptions?.[this.type]?.borderRadius,n=Un(t.borderRadius,St(s)?s:{}),r=e.options.reversed;for(let s of this.points){let{shapeArgs:o}=s;if("roundedRect"===s.shapeType&&o){let{width:a=0,height:l=0,y:h=0}=o,c=h,d=l;if("stack"===n.scope&&s.stackTotal){let n=e.translate(i?100:s.stackTotal,!1,!0,!1,!0),r=e.translate(t.threshold||0,!1,!0,!1,!0),o=this.crispCol(0,Math.min(n,r),0,Math.abs(n-r));c=o.y,d=o.height}let u=(s.negative?-1:1)*(r?-1:1)==-1,p=n.where;!p&&this.is("waterfall")&&Math.abs((s.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(p="all"),p||(p="end");let f=Math.min(_t(n.radius,a),a/2,"all"===p?d/2:1/0)||0;"end"===p&&(u&&(c-=f),d+=f),ot(o,{brBoxHeight:d,brBoxY:c,r:f})}}}}function Un(t,e){return St(t)||(t={radius:t||0}),Et(jn,e,t)}function Kn(){let t=Un(this.options.borderRadius);for(let e of this.points){let i=e.shapeArgs;i&&(i.borderRadius=_t(t.radius,(i.r||0)-(i.innerR||0)))}}function Zn(t,e,i,s,n={}){let r=Vn(t,e,i,s,n),{r:o=0,brBoxHeight:a=s,brBoxY:l=e}=n,h=e-l,c=l+a-(e+s),d=h-o>-.1?0:o,u=c-o>-.1?0:o,p=Math.max(d&&h,0),f=Math.max(u&&c,0),g=[t+d,e],m=[t+i-d,e],v=[t+i,e+d],b=[t+i,e+s-u],y=[t+i-u,e+s],x=[t+u,e+s],w=[t,e+s-u],S=[t,e+d],E=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(p){let t=E(d,d-p);g[0]-=t,m[0]+=t,v[1]=S[1]=e+d-p}if(s<d-p){let n=E(d,d-p-s);v[0]=b[0]=t+i-d+n,y[0]=Math.min(v[0],y[0]),x[0]=Math.max(b[0],x[0]),w[0]=S[0]=t+d-n,v[1]=S[1]=e+s}if(f){let t=E(u,u-f);y[0]+=t,x[0]-=t,b[1]=w[1]=e+s-u+f}if(s<u-f){let n=E(u,u-f-s);v[0]=b[0]=t+i-u+n,m[0]=Math.min(v[0],m[0]),g[0]=Math.max(b[0],g[0]),w[0]=S[0]=t+u-n,b[1]=w[1]=e}return r.length=0,r.push(["M",...g],["L",...m],["A",d,d,0,0,1,...v],["L",...b],["A",u,u,0,0,1,...y],["L",...x],["A",u,u,0,0,1,...w],["L",...S],["A",d,d,0,0,1,...g],["Z"]),r}function Qn(t,e){let i=t.condition;(i.callback||function(){return this.chartWidth<=Mt(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=Mt(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=Mt(i.minWidth,0)&&this.chartHeight>=Mt(i.minHeight,0)}).call(this,this)&&e.push(t._id)}function Jn(t,e){let i,s=this.options.responsive,n=this.currentResponsive,r=[];
45!e&&s&&s.rules&&s.rules.forEach((t=>{void 0===t._id&&(t._id=jt()),this.matchResponsiveRule(t,r)}),this);let o=Et(...r.map((t=>ft(s?.rules||[],(e=>e._id===t)))).map((t=>t?.chartOptions)));o.isResponsiveOptions=!0,r=r.toString()||void 0;let a=n?.ruleIds;r!==a&&(n&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(n.undoOptions,t,!0),this.updatingResponsive=!1),r?((i=nt(o,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:o,undoOptions:i},this.updatingResponsive||this.update(o,t,!0)):this.currentResponsive=void 0)}(P||(P={})).compose=function(t){let e=t.prototype;return e.matchResponsiveRule||ot(e,{matchResponsiveRule:Qn,setResponsive:Jn}),t};let tr=P;q.AST=fe,q.Axis=Si,q.Chart=Bs,q.Color=ie,q.DataLabel=yn,q.DataTable=Ki,q.DataTableCore=Ki,q.Fx=re,q.HTMLElement=li,q.Legend=Ss,q.LegendSymbol=Ji,q.PlotLineOrBand=Ti,q.Point=Wi,q.Pointer=Xi,q.Series=ps,q.SeriesRegistry=ss,q.StackItem=$s,q.SVGElement=Ie,q.SVGRenderer=ri,q.Templating=Se,q.Tick=pi,q.Time=Yt,q.Tooltip=Ni,q.addEvent=V,q.animObject=le.animObject,q.animate=le.animate,q.arrayMax=Y,q.arrayMin=X,q.attr=U,q.chart=Bs.chart,q.clamp=K,q.color=ie.parse,q.correctFloat=Z,q.createElement=Q,q.css=tt,q.crisp=J,q.dateFormat=Se.dateFormat,q.defaultOptions=Qt.defaultOptions,q.defined=et,q.destroyObjectProperties=it,q.diffObjects=nt,q.discardElement=st,q.distribute=Ee.distribute,q.erase=rt,q.error=Wt,q.extend=ot,q.extendClass=at,q.find=ft,q.fireEvent=lt,q.format=Se.format,q.getAlignFactor=ht,q.getClosestDistance=ct,q.getDeferredAnimation=le.getDeferredAnimation,q.getMagnitude=dt,q.getNestedProperty=ut,q.getOptions=Qt.getOptions,q.getStyle=pt,q.insertItem=qt,q.isArray=xt,q.isClass=vt,q.isDOMElement=mt,q.isFunction=wt,q.isNumber=bt,q.isObject=St,q.isString=yt,q.internalClearTimeout=gt,q.merge=Et,q.normalizeTickInterval=Ct,q.numberFormat=Se.numberFormat,q.objectEach=At,q.offset=Tt,q.pad=kt,q.pick=Mt,q.pushUnique=Lt,q.pInt=Ot,q.relativeLength=_t,q.removeEvent=Dt,q.replaceNested=Pt,q.seriesType=ss.seriesType,q.setAnimation=le.setAnimation,q.setOptions=Qt.setOptions,q.splat=It,q.stableSort=Bt,q.stop=le.stop,q.syncTimeout=Nt,q.time=Qt.defaultTime,q.ucfirst=zt,q.timers=re.timers,q.timeUnits=$t,q.uniqueKey=jt,q.useSerialIds=function(e){return t=Mt(e,t)},q.wrap=Rt,function(t,e,i){let s=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let n=i.prototype.symbols;V(t,"afterColumnTranslate",Yn,{order:9}),V(s,"afterTranslate",Kn),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY","brEnd","brStart"),Gn=n.arc,Vn=n.roundedRect,n.arc=Xn,n.roundedRect=Zn}}(q.Series,q.SVGElement,q.SVGRenderer),En.compose(q.Series.types.column),yn.compose(q.Series),Ei.compose(q.Axis),li.compose(q.SVGRenderer),Ss.compose(q.Chart),Ci.compose(q.Axis),(l=(m=q.Chart).prototype).hideOverlappingLabels||(l.hideOverlappingLabels=function(t){let e,i,s,n,r,o=t.length,a=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),l=(t,e)=>{for(let i of t)if(Hn({x:i[0],y:i[1]},e))return!0;return!1},h=!1;for(let i=0;i<o;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){if(t&&(!t.alignAttr||t.placed)){let e=t.box?0:t.padding||0,i=t.dataLabelPosition?.posAttribs||t.alignAttr||{x:t.attr("x"),y:t.attr("y")},{height:s,polygon:n,width:r}=t.getBBox(),o=ht(t.alignValue)*r;return t.width=r,t.height=s,{x:i.x+(t.parentGroup?.translateX||0)+e-o,y:i.y+(t.parentGroup?.translateY||0)+e,width:r-2*e,height:s-2*e,polygon:n}}}(e));t.sort(((t,e)=>(e?.labelrank||0)-(t?.labelrank||0)));for(let e=0;e<o;++e){n=(i=t[e])&&i.absoluteBox;let h=n?.polygon;for(let c=e+1;c<o;++c){r=(s=t[c])&&s.absoluteBox;let e=!1;if(n&&r&&i!==s&&0!==i?.newOpacity&&0!==s?.newOpacity&&"hidden"!==i?.visibility&&"hidden"!==s?.visibility){let t=r.polygon;if(h&&t&&h!==t?l(h,t)&&(e=!0):a(n,r)&&(e=!0),e){let t=i?.labelrank<s?.labelrank?i:s,e=t?.text;t&&(t.newOpacity=0),e?.element.querySelector("textPath")&&e.hide()}}}}for(let e of t)e&&Wn(e,this)&&(h=!0);h&&lt(this,"afterHideAllOverlappingLabels")},V(m,"render",(function(){let t=this,e=[];for(let i of t.labelCollectors||[])e=e.concat(i());for(let i of t.yAxis||[])i.stacking&&i.options.stackLabels&&!i.options.stackLabels.allowOverlap&&At(i.stacking.stacks,(t=>{At(t,(t=>{t.label&&e.push(t.label)}))}));for(let i of t.series||[])if(i.visible&&i.hasDataLabels?.()){let s=s=>
45{for(let n of s)n.visible&&(n.dataLabels||[]).forEach((s=>{let r=s.options||{};s.labelrank=Mt(r.labelrank,n.labelrank,n.shapeArgs?.height),r.allowOverlap??(i.is("pie")&&Number(r.distance)>0)?(s.oldOpacity=s.opacity,s.newOpacity=1,Wn(s,t)):e.push(s)}))};s(i.nodes||[]),s(i.points)}this.hideOverlappingLabels(e)}))),Fn.compose(q.Series.types.pie),Ti.compose(q.Chart,q.Axis),Xi.compose(q.Chart),tr.compose(q.Chart),Hs.compose(q.Axis,q.Chart,q.Series),en.compose(q.Axis,q.Chart,q.Series),Ni.compose(q.Pointer);let{tooltipFormatter:er}=Wi.prototype;!function(t){function e(t,e,i){!this.isXAxis&&(this.series.forEach((function(i){"compare"===t&&"boolean"!=typeof e?i.setCompare(e,!1):"cumulative"!==t||yt(e)||i.setCumulative(e,!1)})),Mt(i,!0)&&this.chart.redraw())}function i(t){let e=this,{numberFormatter:i}=e.series.chart,s=function(s){t=t.replace("{point."+s+"}",(e[s]>0&&"change"===s?"+":"")+i(e[s],Mt(e.series.tooltipOptions.changeDecimals,2)))};return et(e.change)&&s("change"),et(e.cumulativeSum)&&s("cumulativeSum"),er.apply(this,[t])}function s(){let t,e=this.options.linkedTo,i=this.chart;if(e){let t=":previous"===e?i.series[this.index-1]:i.get(e);t instanceof ps&&(this.options.compare=Mt(this.userOptions.compare,t.options.compare))}let s=this.options.compare;("percent"===s||"value"===s||this.options.cumulative)&&(t=new c(this),"percent"===s||"value"===s?t.initCompare(s):t.initCumulative()),this.dataModify=t}function n(t){let e=t.dataExtremes,i=e.activeYData;if(this.dataModify&&e){let t;this.options.compare?t=[this.dataModify.modifyValue(e.dataMin),this.dataModify.modifyValue(e.dataMax)]:this.options.cumulative&&xt(i)&&i.length>=2&&(t=c.getCumulativeExtremes(i)),t&&(e.dataMin=X(t),e.dataMax=Y(t))}}function r(t,e){this.options.compare=this.userOptions.compare=t,this.update({},Mt(e,!0)),!this.dataModify||"value"!==t&&"percent"!==t?this.points.forEach((t=>{delete t.change})):this.dataModify.initCompare(t)}function o(){let t=this.getColumn(this.pointArrayMap&&(this.options.pointValKey||this.pointValKey)||"y",!0);if(this.xAxis&&t.length&&this.dataModify){let e=this.getColumn("x",!0),i=this.dataTable.rowCount,s=+(!0!==this.options.compareStart);for(let n=0;n<i-s;n++){let i=t[n];if(bt(i)&&0!==i&&e[n+s]>=(this.xAxis.min||0)){this.dataModify.compareValue=i;break}}}}function a(t,e){this.setModifier("compare",t,e)}function l(t,e){t=Mt(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},Mt(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach((t=>{delete t.cumulativeSum}))}function h(t,e){this.setModifier("cumulative",t,e)}t.compose=function(t,c,d){let u=c.prototype,p=d.prototype,f=t.prototype;return f.setCompare||(f.setCompare=r,f.setCumulative=l,V(t,"afterInit",s),V(t,"afterGetExtremes",n),V(t,"afterProcessData",o)),u.setCompare||(u.setCompare=a,u.setModifier=e,u.setCumulative=h,p.tooltipFormatter=i),t};class c{constructor(t){this.series=t}modifyValue(){return 0}static getCumulativeExtremes(t){let e=1/0,i=-1/0;return t.reduce(((t,s)=>{let n=t+s;return e=Math.min(e,n,t),i=Math.max(i,n,t),n})),[e,i]}initCompare(t){this.modifyValue=function(e,i){null===e&&(e=0);let s=this.compareValue;if(void 0!==e&&void 0!==s){if("value"===t?e-=s:e=e/Math.abs(s)*100-100*(100!==this.series.options.compareBase),void 0!==i){let t=this.series.points[i];t&&(t.change=e)}return e}return 0}}initCumulative(){this.modifyValue=function(t,e){if(null===t&&(t=0),void 0!==t&&void 0!==e){let i=e>0?this.series.points[e-1]:null;i&&i.cumulativeSum&&(t=Z(i.cumulativeSum+t));let s=this.series.points[e],n=s.series.options.cumulativeStart,r=s.x<=this.series.xAxis.max&&s.x>=this.series.xAxis.min;return s&&(s.cumulativeSum=!n||r?t:void 0),t}return 0}}}t.Additions=c}(D||(D={}));let ir=D,{isTouchDevice:sr}=q,nr=[];function rr(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function or(){let t,e,i,s=this.legend,n=this.navigator;if(n){t=s&&s.options,e=n.xAxis,i=n.yAxis;let{scrollbarHeight:r,scrollButtonSize:o}=n;this.inverted?(n.left=n.opposite?this.chartWidth-r-n.height:this.spacing[3]+r,n.top=this.plotTop+o):(n.left=Mt(e.left,this.plotLeft+o),n.top=n.navigatorOptions.top||this.chartHe
vendor: 4,613 bytes, line 45
45ight-n.height-r-(this.scrollbar?.options.margin||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(t&&"bottom"===t.verticalAlign&&"proximate"!==t.layout&&t.enabled&&!t.floating?s.legendHeight+Mt(t.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),e&&i&&(this.inverted?e.options.left=i.options.left=n.left:e.options.top=i.options.top=n.top,e.setAxisSize(),i.setAxisSize())}}function ar(t){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new i(this),Mt(t.redraw,!0)&&this.redraw(t.animation))}function lr(){let t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new i(this))}function hr(){let t=this.options,e=t.navigator,i=t.rangeSelector;if((e&&e.enabled||i&&i.enabled)&&(!sr&&"x"===this.zooming.type||sr&&"x"===this.zooming.pinchType))return!1}function cr(t){let e=t.navigator;if(e&&t.xAxis[0]){let i=t.xAxis[0].getExtremes();e.render(i.min,i.max)}}function dr(t){let e=t.options.navigator||{},i=t.options.scrollbar||{};!this.navigator&&!this.scroller&&(e.enabled||i.enabled)&&(Et(!0,this.options.navigator,e),Et(!0,this.options.scrollbar,i),delete t.options.navigator,delete t.options.scrollbar)}let ur=function(t,e){if(Lt(nr,t)){let s=t.prototype;i=e,s.callbacks.push(cr),V(t,"afterAddSeries",rr),V(t,"afterSetChartSize",or),V(t,"afterUpdate",ar),V(t,"beforeRender",lr),V(t,"beforeShowResetZoom",hr),V(t,"update",dr)}},{isTouchDevice:pr}=q;function fr(){this.navigatorAxis||(this.navigatorAxis=new mr(this))}function gr(t){let e,i=this.chart,s=i.options,n=s.navigator,r=this.navigatorAxis,o=i.zooming.pinchType,a=s.rangeSelector,l=i.zooming.type;if(this.isXAxis&&(n?.enabled||a?.enabled))if("y"===l&&"zoom"===t.trigger)e=!1;else if(("zoom"===t.trigger&&"xy"===l||pr&&"xy"===o)&&this.options.range){let e=r.previousZoom;et(t.min)?r.previousZoom=[this.min,this.max]:e&&(t.min=e[0],t.max=e[1],r.previousZoom=void 0)}void 0!==e&&t.preventDefault()}class mr{static compose(t){t.keepProps.includes("navigatorAxis")||(t.keepProps.push("navigatorAxis"),V(t,"init",fr),V(t,"setExtremes",gr))}constructor(t){this.axis=t}destroy(){this.axis=void 0}toFixedRange(t,e,i,s){let n=this.axis,r=(n.pointRange||0)/2,o=Mt(i,n.translate(t,!0,!n.horiz)),a=Mt(s,n.translate(e,!0,!n.horiz));return et(i)||(o=Z(o+r)),et(s)||(a=Z(a-r)),bt(o)&&bt(a)||(o=a=void 0),{min:o,max:a}}}let{seriesTypes:vr}=ss,br={height:40,margin:22,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"var(--highcharts-neutral-color-5)",borderColor:"var(--highcharts-neutral-color-40)"},maskFill:"color-mix(var(--highcharts-highlight-color-60) 30%, transparent)",outlineColor:"var(--highcharts-neutral-color-40)",outlineWidth:1,series:{type:void 0===vr.areaspline?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"var(--highcharts-neutral-color-10)",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"var(--highcharts-neutral-color-100)",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:void 0},tickLength:0,tickWidth:0}},yr={"navigator-handle":function(t,e,i,s,n={}){let r=n.width?n.width/2:i,o=_t(n.borderRadius||0,Math.min(2*r,s));return[["M",-1.5,(s=n.height||s)/2-3.5],["L",-1.5,s/2+4.5],["M",.5,s/2-3.5],["L",.5,s/2+4.5],...$e.rect(-r-1,.5,2*r+1,s,{r:o})]}},xr={setFixedRange:function(t){let e=this.xAxis[0];et(e.dataMax)&&et(e.dataMin)&&t?this.fixedRange=Math.min(t,e.dataMax-e.dataMin):this.fixedRange=t}},{defaultOptions:wr}=Qt,{composed:Sr}=q,{setFixedRange:Er}=xr;function Cr(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}let{composed:Ar}=q;!function(t){let e;
vendor: 10,287 bytes, line 45
45function i(t){let e=Mt(t.options?.min,t.min),i=Mt(t.options?.max,t.max);return{axisMin:e,axisMax:i,scrollMin:et(t.dataMin)?Math.min(e,t.min??1/0,t.dataMin,t.threshold??1/0):e,scrollMax:t.treeGrid?.adjustedMax??(et(t.dataMax)?Math.max(i,t.max??-1/0,t.dataMax,t.threshold??-1/0):i)}}function s(){let t=this.scrollbar,e=t&&!t.options.opposite,i=this.horiz?2:e?3:1;t&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[i]+=t.size+(t.options.margin||0))}function n(){let t=this;t.options?.scrollbar?.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new e(t.chart.renderer,t.options.scrollbar,t.chart),V(t.scrollbar,"changed",(function(e){let s,n,{axisMin:r,axisMax:o,scrollMin:a,scrollMax:l}=i(t),h=t.toPixels(a),c=t.toPixels(l)-h;if(et(r)&&et(o))if(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(s=Math.min(l,t.toValue(h+c*this.to)),n=Math.max(a,t.toValue(h+c*this.from))):(s=Math.min(l,t.toValue(h+c*(1-this.from))),n=Math.max(a,t.toValue(h+c*(1-this.to)))),this.shouldUpdateExtremes(e.DOMType)){let i="mousemove"!==e.DOMType&&"touchmove"!==e.DOMType&&void 0;t.setExtremes(Z(n),Z(s),!0,i,e)}else this.setRange(this.from,this.to)})))}function r(){let t,e,s,{scrollMin:n,scrollMax:r}=i(this),o=this.scrollbar,a=(this.axisTitleMargin||0)+(this.titleOffset||0),l=this.chart.scrollbarsOffsets,h=this.options.margin||0;if(o&&l){if(this.horiz)this.opposite||(l[1]+=a),o.position(this.left,this.top+this.height+2+l[1]-(this.opposite?h:0),this.width,this.height),this.opposite||(l[1]+=h),t=1;else{let e;this.opposite&&(l[0]+=a),e=o.options.opposite?this.left+this.width+2+l[0]-(this.opposite?0:h):this.opposite?0:h,o.position(e,this.top,this.width,this.height),this.opposite&&(l[0]+=h),t=0}if(l[t]+=o.size+(o.options.margin||0),isNaN(n)||isNaN(r)||!et(this.min)||!et(this.max)||et(this.dataMin)&&this.dataMin===this.dataMax)o.setRange(0,1);else if(this.min===this.max){let t=this.pointRange/(this.dataMax+1);e=t*this.min,s=t*(this.max+1),o.setRange(e,s)}else e=(this.toPixels(this.min)-this.toPixels(n))/(this.toPixels(r)-this.toPixels(n)),s=(this.toPixels(this.max)-this.toPixels(n))/(this.toPixels(r)-this.toPixels(n)),this.horiz&&!this.reversed||!this.horiz&&this.reversed?o.setRange(e,s):o.setRange(1-s,1-e)}}t.compose=function(t,i){Lt(Ar,"Axis.Scrollbar")&&(e=i,V(t,"afterGetOffset",s),V(t,"afterInit",n),V(t,"afterRender",r))}}(I||(I={}));let Tr=I,kr={height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"var(--highcharts-neutral-color-20)",barBorderWidth:0,barBorderColor:"var(--highcharts-neutral-color-20)",buttonArrowColor:"var(--highcharts-neutral-color-80)",buttonBackgroundColor:"var(--highcharts-neutral-color-10)",buttonBorderColor:"var(--highcharts-neutral-color-20)",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"var(--highcharts-neutral-color-20)",trackBorderRadius:5,trackBorderWidth:1},{defaultOptions:Mr}=Qt,{composed:Or}=q;class Lr{static compose(t){Tr.compose(t,Lr),Lt(Or,"Scrollbar")&&ot(Mr,{scrollbar:kr})}static swapXY(t,e){return e&&t.forEach((t=>{let e,i=t.length;for(let s=0;s<i;s+=2)"number"==typeof(e=t[s+1])&&(t[s+1]=t[s+2],t[s+2]=e)})),t}constructor(t,e,i){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(t,e,i)}addEvents(){let t=this.options.inverted?[1,0]:[0,1],e=this.scrollbarButtons,i=this.scrollbarGroup.element,s=this.track.element,n=this.mouseDownHandler.bind(this),r=this.mouseMoveHandler.bind(this),o=this.mouseUpHandler.bind(this),a=[[e[t[0]].element,"click",this.buttonToMinClick.bind(this)],[e[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[s,"click",this.trackClick.bind(this)],[i,"mousedown",n],[i.ownerDocument,"mousemove",r],[i.ownerDocument,"mouseup",o],[i,"touchstart",n],[i.ownerDocument,"touchmove",r],[i.ownerDocument,"touchend",o]];a.forEach((function(t){V.apply(null,t)})),this._events=a}buttonToMaxClick(t){let e=(this.to-this.from)*Mt(this.options.step,.2);this.updatePosition(this.from+e,this.to+e),lt(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}buttonToMinClick(t){let e=Z(this.to-this.from)*Mt(this.options.step,.2);this.updatePosition(Z(this.from-e),Z(this.to-e)),lt(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}cursorToScrollbarPosition(t){let e=this.options,i=e.minWidth>this.calculatedWidth?e.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-i)}}destroy(){let t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())})),e&&t===e.scrollbar&&(e.scrollbar=null,it(e.scrollbarButtons))}drawScrollbarButton(t){let e=this.renderer,i=this.scrollbarButtons,s=this.options,n=this.size,r=e.g().add(this.group);if(i.push(r),s.buttonsEnabled){let o=e.rect().addClass("highcharts-scrollbar-button").add(r);this.chart.styledMode||o.attr({stroke:s.buttonBorderColor,"stroke-width":s.buttonBorderWidth,fill:s.buttonBackgroundColor}),o.attr(o.crisp({x:-.5,y:-.5,width:n,height:n,r:s.buttonBorderRadius},o.strokeWidth()));let a=e.path(Lr.swapXY([["M",n/2+(t?-1:1),n/2-3],["L",n/2+(t?-1:1),n/2+3],["L",n/2+(t?2:-2),n/2]],s.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]);this.chart.styledMode||a.attr({fill:s.buttonArrowColor})}}init(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=Et(kr,Mr.scrollbar,e),this.options.margin=Mt(this.options.margin,10),this.chart=i,this.size=Mt(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())}mouseDownHandler(t){let e=this.chart.pointer?.normalize(t)||t,i=this.cursorToScrollbarPosition(e);this.chartX=i.chartX,this.chartY=i.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(t){let e,i=this.chart.pointer?.normalize(t)||t,s=this.options.vertical?"chartY":"chartX",n=this.initPositions||[];this.grabbedCenter&&(!t.touches||0!==t.touches[0][s])&&(e=this.cursorToScrollbarPosition(i)[s]-this[s],this.hasDragged=!0,this.updatePosition(n[0]+e,n[1]+e),this.hasDragged&&lt(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))}mouseUpHandler(t){this.hasDragged&&lt(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(t,e,i,s){let{buttonsEnabled:n,margin:r=0,vertical:o}=this.options,a=this.rendered?"animate":"attr",l=s,h=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.height=s,this.xOffset=l,this.yOffset=h,o?(this.width=this.yOffset=i=h=this.size,this.xOffset=l=0,this.yOffset=h=n?this.size:0,this.barWidth=s-(n?2*i:0),this.x=t+=r):(this.height=s=this.size,this.xOffset=l=n?this.size:0,this.barWidth=i-(n?2*s:0),this.y=this.y+r),this.group[a]({translateX:t,translateY:this.y}),this.track[a]({width:i,height:s}),this.scrollbarButtons[1][a]({translateX:o?0:i-l,translateY:o?s-h:0})}removeEvents(){this._events.forEach((function(t){Dt.apply(null,t)})),this._events.length=0}render(){let t=this.renderer,e=this.options,i=this.size,s=this.chart.styledMode,n=t.g("scrollbar").attr({zIndex:e.zIndex}).hide().add();this.group=n,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({r:e.trackBorderRadius||0,height:i,width:i}).add(n),s||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth});let r=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-J(0,r),y:-J(0,r)}),this.scrollbarGroup=t.g().add(n),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:i-r,width:i-r,r:e.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(Lr.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),s||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-J(0,this.scrollbarStrokeWidth),-J(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(t,e){let i,s,n=this.options,r=n.vertical,o=n.minWidth,a=this.barWidth,l=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!et(a))return;let h=a*Math.min(e,1);i=Math.ceil(a*(t=Math.max(t,0))),this.calculatedWidth=s=Z(h-i),s<o&&(i=(a-o+s)*t,s=o);let c=Math.floor(i+this.xOffset+this.yOffset),d=s/2-.5;this.from=t,this.to=e,r?(this.scrollbarGroup[l]({translateY:c}),this.scrollbar[l]({height:s}),this.scrollbarRifles[l]({translateY:d}),this.scrollbarTop=c,this.scrollbarLeft=0):(this.scrollbarGroup[l]({translateX:c}),this.scrollbar[l]({width:s}),this.scrollbarRifles[l]({translateX:d}),this.scrollbarLeft=c,this.scrollbarTop=0),s<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),!1===n.showFull&&(t<=0&&e>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(t){return Mt(this.options.liveRedraw,q.svg&&!q.isTouchDevice&&!this.chart.boosted)||"mouseup"===t||"touchend"===t||!et(t)}trackClick(t){let e=this.chart.pointer?.normalize(t)||t,i=this.to-this.from,s=this.y+this.scrollbarTop,n=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>s||!this.options.vertical&&e.chartX>n?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),lt(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}update(t){this.destroy(),this.init(this.chart.renderer,Et(!0,this.options,t),this.chart)}updatePosition(t,e){e>1&&(t=Z(1-Z(e-t)),e=1),t<0&&(e=Z(e-t),t=0),this.from=t,this.to=e}}Lr.defaultOptions=kr;let{defaultOptions:_r}=Qt,{isTouchDevice:Pr}=q;function Dr(t,...e){let i=[].filter.call(e,bt);if(i.length)return Math[t].apply(0,i)}
45class Ir{static compose(t,e,i){ur(t,Ir),function(t,e,i){mr.compose(e),Lt(Sr,"Navigator")&&(t.prototype.setFixedRange=Er,ot(ri.prototype.symbols,yr),ot(wr,{navigator:br}),V(i,"afterUpdate",Cr))}(t,e,i)}constructor(t){this.isDirty=!1,this.scrollbarHeight=0,this.init(t)}drawHandle(t,e,i,s){let n=this.navigatorOptions.handles.height;this.handles[e][s](i?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-n)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-n/2-1)})}drawOutline(t,e,i,s){let n,r,o=this.navigatorOptions.maskInside,a=this.outline.strokeWidth(),l=a/2,h=a%2/2,c=this.scrollButtonSize,d=this.size,u=this.top,p=this.height,f=u-l,g=u+p,m=this.left;i?(n=u+e+h,r=[["M",m+p,u-c-h],["L",m+p,n],["L",m,n],["M",m,e=u+t+h],["L",m+p,e],["L",m+p,u+d+c]],o&&r.push(["M",m+p,n-l],["L",m+p,e+l])):(m-=c,r=[["M",m,f],["L",t+=m+c-h,f],["L",t,g],["M",e+=m+c-h,g],["L",e,f],["L",m+d+2*c,f]],o&&r.push(["M",t-l,f],["L",e+l,f])),this.outline[s]({d:r})}drawMasks(t,e,i,s){let n,r,o,a,l=this.left,h=this.top,c=this.height;i?(o=[l,l,l],a=[h,h+t,h+e],r=[c,c,c],n=[t,e-t,this.size-e]):(o=[l,l+t,l+e],a=[h,h,h],r=[t,e-t,this.size-e],n=[c,c,c]),this.shades.forEach(((t,e)=>{t[s]({x:o[e],y:a[e],width:r[e],height:n[e]})}))}renderElements(){let t=this,e=t.navigatorOptions,i=e.maskInside,s=t.chart,n=s.inverted,r=s.renderer,o={cursor:n?"ns-resize":"ew-resize"},a=t.navigatorGroup??(t.navigatorGroup=r.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!i,i,!i].forEach(((i,n)=>{let l=t.shades[n]??(t.shades[n]=r.rect().addClass("highcharts-navigator-mask"+(1===n?"-inside":"-outside")).add(a));s.styledMode||(l.attr({fill:i?e.maskFill:"rgba(0,0,0,0)"}),1===n&&l.css(o))})),t.outline||(t.outline=r.path().addClass("highcharts-navigator-outline").add(a)),s.styledMode||t.outline.attr({"stroke-width":e.outlineWidth,stroke:e.outlineColor}),e.handles?.enabled){let i=!1,n=e.handles,{height:l,width:h}=n;[0,1].forEach((e=>{let c=n.symbols[e];(i=i||t.handles[e]?.symbolName!==c)&&(t.handles[e]?.destroy(),t.handles[e]=r.symbol(c,-h/2-1,0,h,l,n),t.handles[e].attr({zIndex:7-e}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][e]).add(a)),s.inverted&&t.handles[e].attr({rotation:90,rotationOriginX:Math.floor(-h/2),rotationOriginY:(l+h)/2}),s.styledMode||t.handles[e].attr({fill:n.backgroundColor,stroke:n.borderColor,"stroke-width":n.lineWidth,width:n.width,height:n.height,x:-h/2-1,y:0}).css(o)})),i&&(t.partsEventsToUnbind?.forEach((t=>{t()})),t.partsEventsToUnbind=[...t.getPartsEvents("mousedown"),...t.getPartsEvents("touchstart")])}}update(t,e=!1){let i=this.chart,s=i.options.chart.inverted!==i.scrollbar?.options.vertical;if(Et(!0,i.options.navigator,t),this.navigatorOptions=i.options.navigator||{},this.setOpposite(),et(t.enabled)||s)return this.destroy(),this.navigatorEnabled=t.enabled||this.navigatorEnabled,this.init(i);if(this.navigatorEnabled&&(this.isDirty=!0,!1===t.adaptToUpdatedData&&this.baseSeries.forEach((t=>{Dt(t,"updatedData",this.updatedDataHandler)}),this),t.adaptToUpdatedData&&this.baseSeries.forEach((t=>{t.eventsToUnbind.push(V(t,"updatedData",this.updatedDataHandler))}),this),(t.series||t.baseSeries)&&this.setBaseSeries(void 0,!1),t.height||t.xAxis||t.yAxis)){this.height=t.height??this.height;let e=this.getXAxisOffsets();this.xAxis.update({...t.xAxis,offsets:e,[i.inverted?"width":"height"]:this.height,[i.inverted?"height":"width"]:void 0},!1),this.yAxis.update({...t.yAxis,[i.inverted?"width":"height"]:this.height},!1)}e&&i.redraw()}render(t,e,i,s){let n,r,o,a,l,h=this.chart,c=this.xAxis,d=c.pointRange||0,u=c.navigatorAxis.fake?h.xAxis[0]:c,p=this.navigatorEnabled,f=this.rendered,g=h.inverted,m=h.xAxis[0].minRange,v=h.xAxis[0].options.maxRange,b=this.scrollButtonSize,y=this.scrollbarHeight;if(this.hasDragged&&!et(i))return;if(this.isDirty&&this.renderElements(),t=Z(t-d/2),e=Z(e+d/2),!bt(t)||!bt(e)){if(!f)return;i=0,s=Mt(c.width,u.width)}this.left=Mt(c.left,h.plotLeft+b+(g?h.plotWidth:0));let x=this.size=a=Mt(c.len,(g?h.plotHeight:h.plotWidth)-2*b);
vendor: 5,546 bytes, line 45
45n=g?y:a+2*b,i=Mt(i,c.toPixels(t,!0)),s=Mt(s,c.toPixels(e,!0)),bt(i)&&Math.abs(i)!==1/0||(i=0,s=n);let w=c.toValue(i,!0),S=c.toValue(s,!0),E=Math.abs(Z(S-w));et(m)&&E<m?this.grabbedLeft?i=c.toPixels(S-m-d,!0):this.grabbedRight&&(s=c.toPixels(w+m+d,!0)):et(v)&&Z(E-d)>v&&(this.grabbedLeft?i=c.toPixels(S-v-d,!0):this.grabbedRight&&(s=c.toPixels(w+v+d,!0))),this.zoomedMax=K(Math.max(i,s),0,x),this.zoomedMin=K(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,s),0,x),this.range=this.zoomedMax-this.zoomedMin,x=Math.round(this.zoomedMax);let C=Math.round(this.zoomedMin);p&&(this.navigatorGroup.attr({visibility:"inherit"}),l=f&&!this.hasDragged?"animate":"attr",this.drawMasks(C,x,g,l),this.drawOutline(C,x,g,l),this.navigatorOptions.handles?.enabled&&(this.drawHandle(C,0,g,l),this.drawHandle(x,1,g,l))),this.scrollbar&&(g?(o=this.top-b,r=this.left-y+(p||!u.opposite?0:(u.titleOffset||0)+u.axisTitleMargin),y=a+2*b):(o=this.top+(p?this.height:-y),r=this.left-b),this.scrollbar.position(r,o,n,y),this.scrollbar.setRange(this.zoomedMin/(a||1),this.zoomedMax/(a||1))),this.rendered=!0,this.isDirty=!1,lt(this,"afterRender")}addMouseEvents(){let t,e,i=this,s=i.chart,n=s.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},r.push(V(s.renderTo,"mousemove",t),V(n.ownerDocument,"mouseup",e),V(s.renderTo,"touchmove",t),V(n.ownerDocument,"touchend",e)),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(V(i.series[0].xAxis,"foundExtremes",(function(){s.navigator?.modifyNavigatorAxisExtremes()})))}getPartsEvents(t){let e=this,i=[];return["shades","handles"].forEach((s=>{e[s].forEach((function(n,r){i.push(V(n.element,t,(function(t){e[`${s}Mousedown`](t,r)})))}))})),i}shadesMousedown(t,e){t=this.chart.pointer?.normalize(t)||t;let i,s,n,r,o=this.chart,a=this.xAxis,l=this.zoomedMin,h=this.size,c=this.range,d=this.left,u=t.chartX;o.inverted&&(u=t.chartY,d=this.top),1===e?(this.grabbedCenter=u,this.fixedWidth=c,this.dragOffset=u-l):(r=u-d-c/2,0===e?r=Math.max(0,r):2===e&&r+c>=h&&(r=h-c,this.reversedExtremes?(r-=c,s=this.getUnionExtremes()?.dataMin):i=this.getUnionExtremes()?.dataMax),r!==l&&(this.fixedWidth=c,et((n=a.navigatorAxis.toFixedRange(r,r+c,s,i)).min)&&lt(this,"setRange",{min:Math.min(n.min,n.max),max:Math.max(n.min,n.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(t,e){t=this.chart.pointer?.normalize(t)||t;let i=this.chart,s=i.xAxis[0],n=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=n?s.min:s.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=n?s.max:s.min),i.setFixedRange(void 0)}onMouseMove(t){let e,i=this,s=i.chart,n=i.navigatorSize,r=i.range,o=i.dragOffset,a=s.inverted,l=i.left;(!t.touches||0!==t.touches[0].pageX)&&(e=(t=s.pointer?.normalize(t)||t).chartX,a&&(l=i.top,e=t.chartY),i.grabbedLeft?(i.hasDragged=!0,i.render(0,0,e-l,i.otherHandlePos)):i.grabbedRight?(i.hasDragged=!0,i.render(0,0,i.otherHandlePos,e-l)):i.grabbedCenter&&o&&(i.hasDragged=!0,e<o?e=o:e>n+o-r&&(e=n+o-r),i.render(0,0,e-o,e-o+r)),i.hasDragged&&Mt(i.scrollbarOptions?.liveRedraw,!Pr&&!this.chart.boosted)&&(t.DOMType=t.type,setTimeout((function(){i.onMouseUp(t)}),0)))}onMouseUp(t){let e,i,s,n,r,o,a=this.chart,l=this.xAxis,h=this.scrollbar,c=t.DOMEvent||t,d=a.inverted,u=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!h||!h.hasDragged)||"scrollbar"===t.trigger)&&(s=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?n=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(r=this.fixedExtreme),this.zoomedMax===this.size&&(r=this.reversedExtremes?s.dataMin:s.dataMax),0===this.zoomedMin&&(n=this.reversedExtremes?s.dataMax:s.dataMin),et((o=l.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,n,r)).min)&&lt(this,"setRange",{min:Math.min(o.min,o.max),max:Math.max(o.min,o.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:c}})),"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&bt(this.zoomedMin)&&bt(this.zoomedMax)&&(i=Math.round(this.zoomedMin),e=Math.round(this.zoomedMax),this.shades&&this.drawMasks(i,e,d,u),this.outline&&this.drawOutline(i,e,d,u),this.navigatorOptions.handles?.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(i,0,d,u),this.drawHandle(e,1,d,u)))}removeEvents(){this.eventsToUnbind?.forEach((t=>{t()})),this.eventsToUnbind=void 0,this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach((function(t){Dt(t,"updatedData",this.updatedDataHandler)}),this),t[0].xAxis&&Dt(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(t){let e=t.options,i=e.navigator||{},s=i.enabled,n=e.scrollbar||{},r=n.enabled,o=s&&i.height||0,a=r&&n.height||0,l=n.buttonsEnabled&&a||0;this.handles=[],this.shades=[],this.chart=t,this.setBaseSeries(),this.height=o,this.scrollbarHeight=a,this.scrollButtonSize=l,this.scrollbarEnabled=r,this.navigatorEnabled=!!s,this.navigatorOptions=i,this.scrollbarOptions=n,this.setOpposite();let h=this,c=h.baseSeries,d=t.xAxis.length,u=t.yAxis.length,p=c&&
45c[0]&&c[0].xAxis||t.xAxis[0]||{options:{}};if(t.isDirtyBox=!0,h.navigatorEnabled){let e=this.getXAxisOffsets();h.xAxis=new Si(t,Et({breaks:p.options.breaks,ordinal:p.options.ordinal,overscroll:p.options.overscroll},i.xAxis,{type:"datetime",yAxis:i.yAxis?.id,index:d,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:p.options.ordinal?0:p.options.minPadding,maxPadding:p.options.ordinal?0:p.options.maxPadding,zoomEnabled:!1},t.inverted?{offsets:e,width:o}:{offsets:e,height:o}),"xAxis"),h.yAxis=new Si(t,Et(i.yAxis,{alignTicks:!1,offset:0,index:u,isInternal:!0,reversed:Mt(i.yAxis&&i.yAxis.reversed,t.yAxis[0]&&t.yAxis[0].reversed,!1),zoomEnabled:!1},t.inverted?{width:o}:{height:o}),"yAxis"),h.xAxis.clippable=!1,h.yAxis.clippable=!1,c||i.series?.data||i.series?.dataTable?h.updateNavigatorSeries(!1):0===t.series.length&&(h.unbindRedraw=V(t,"beforeRedraw",(function(){t.series.length>0&&!h.series&&(h.setBaseSeries(),h.unbindRedraw?.())}))),h.reversedExtremes=t.inverted&&!h.xAxis.reversed||!t.inverted&&h.xAxis.reversed,h.renderElements(),h.addMouseEvents()}else h.xAxis={chart:t,navigatorAxis:{fake:!0},translate:function(e,i){let s=t.xAxis[0],n=s.getExtremes(),r=s.len-2*l,o=Dr("min",s.options.min,n.dataMin),a=Dr("max",s.options.max,n.dataMax)-o;return i?e*a/r+o:r*(e-o)/a},toPixels:function(t){return this.translate(t)},toValue:function(t){return this.translate(t,!0)}},h.xAxis.navigatorAxis.axis=h.xAxis,h.xAxis.navigatorAxis.toFixedRange=mr.prototype.toFixedRange.bind(h.xAxis.navigatorAxis);if(t.options.scrollbar?.enabled){let e=Et(t.options.scrollbar,{vertical:t.inverted});bt(e.margin)||(e.margin=t.inverted?-3:3),t.scrollbar=h.scrollbar=new Lr(t.renderer,e,t),V(h.scrollbar,"changed",(function(t){let e=h.size,i=e*this.to,s=e*this.from;h.hasDragged=h.scrollbar?.hasDragged,h.render(0,0,s,i),this.shouldUpdateExtremes(t.DOMType)&&setTimeout((function(){h.onMouseUp(t)}))}))}h.addBaseSeriesEvents(),h.addChartEvents()}setOpposite(){let t=this.navigatorOptions,e=this.navigatorEnabled,i=this.chart;this.opposite=Mt(t.opposite,!(e||!i.inverted))}getUnionExtremes(t){let e,i=this.chart.xAxis[0],s=this.chart.time,n=this.xAxis,r=n.options,o=i.options;return t&&null===i.dataMin||(e={dataMin:Mt(s.parse(r?.min),Dr("min",s.parse(o.min),i.dataMin,n.dataMin,n.min)),dataMax:Mt(s.parse(r?.max),Dr("max",s.parse(o.max),i.dataMax,n.dataMax,n.max))}),e}setBaseSeries(t,e){let i=this.chart,s=this.baseSeries=[];t=t||i.options.navigator?.baseSeries||(i.series.length?ft(i.series,(t=>!t.options.isInternal)).index:0),(i.series||[]).forEach(((e,i)=>{!e.options.isInternal&&(e.options.showInNavigator||(i===t||e.options.id===t)&&!1!==e.options.showInNavigator)&&s.push(e)})),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,e)}updateNavigatorSeries(t,e){let i,s,n,r=this,o=r.chart,a=r.baseSeries,l={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:this.navigatorOptions.xAxis?.id,yAxis:this.navigatorOptions.yAxis?.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},h=r.series=(r.series||[]).filter((t=>{let e=t.baseSeries;return!(e&&0>a.indexOf(e)&&(e&&(Dt(e,"updatedData",r.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),1))})),c=r.navigatorOptions.series;if(a&&a.length&&a.forEach((t=>{let d=t.navigatorSeries,u=ot({color:t.color,visible:t.visible},xt(c)?_r.navigator.series:c);if(d&&!1===r.navigatorOptions.adaptToUpdatedData)return;l.name="Navigator "+a.length,n=(i=t.options||{}).navigatorOptions||{},u.dataLabels=It(u.dataLabels),(s=Et(i,l,u,n)).pointRange=Mt(u.pointRange,n.pointRange,_r.plotOptions[s.type||"line"]?.pointRange);let p=n.data||u.data,f=n.dataTable||u.dataTable;r.hasNavigatorData=r.hasNavigatorData||!!p||!!f,s.data=p||i.data?.slice(0),s.dataTable=f||i.dataTable,d&&d.options?d.update(s,e):(t.navigatorSeries=o.initSeries(s),lt(t.navigatorSeries,"afterUpdate"),t.navigatorSeries.baseSeries=t,h.push(t.navigatorSeries))})),(c?.data||c?.dataTable)&&(!a||!a.length)||xt(c)){let t=o.options.colors||[];r.hasNavigatorData=!1,(c=It(c)).forEach(((e,i)=>{l.name="Navigator "+(h.length+1),(s=Et(_r.navigator?.series,{color:o.series[i]&&!o.series[i].options.isInternal&&o.series[i].color||t[i]||t[0]},l,e)).data=e.data,s.dataTable=e.dataTable,(s.data||s.dataTable)&&(r.hasNavigatorData=!0,h.push(o.initSeries(s)))}))}t&&this.addBaseSeriesEvents()}
45addBaseSeriesEvents(){let t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(V(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach((i=>{i.eventsToUnbind.push(V(i,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),i.eventsToUnbind.push(V(i,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==this.navigatorOptions.adaptToUpdatedData&&i.xAxis&&i.eventsToUnbind.push(V(i,"updatedData",this.updatedDataHandler)),i.eventsToUnbind.push(V(i,"remove",(function(){e&&rt(e,i),this.navigatorSeries&&t.series&&(rt(t.series,this.navigatorSeries),et(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}))}getBaseSeriesMin(t){return this.baseSeries.reduce((function(t,e){return Math.min(t,e.getColumn("x")[0]??t)}),t)}modifyNavigatorAxisExtremes(){let t=this.xAxis;if(void 0!==t.getExtremes){let e=this.getUnionExtremes(!0);e&&(e.dataMin!==t.min||e.dataMax!==t.max)&&(t.min=e.dataMin,t.max=e.dataMax)}}modifyBaseAxisExtremes(){let t,e,i=this.chart.navigator,s=this.getExtremes(),n=s.min,r=s.max,o=s.dataMin,a=s.dataMax,l=r-n,h=i?.stickToMin,c=i?.stickToMax,d=Mt(this.ordinal?.convertOverscroll(this.options.overscroll),0),u=i.series&&i.series[0],p=!!this.setExtremes;!(this.eventArgs&&"rangeSelectorButton"===this.eventArgs.trigger)&&(h&&(t=(e=o)+l),c&&(t=a+d,h||(e=Math.max(o,t-l,i.getBaseSeriesMin(u&&u.xData?u.xData[0]:-Number.MAX_VALUE)))),p&&(h||c)&&bt(e)&&(this.min=this.userMin=e,this.max=this.userMax=t)),i.stickToMin=i.stickToMax=null}updatedDataHandler(){let t=this.chart.navigator,e=this.navigatorSeries,i=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size);t.stickToMax=Mt(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,i),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.getColumn("x")[0],e.setData(this.options.data||this.options.dataTable,!1,void 0,!1))}shouldStickToMin(t,e){let i=e.getBaseSeriesMin(t.getColumn("x")[0]),s=t.xAxis,n=s.max,r=s.min,o=s.options.range;return!(!bt(n)||!bt(r))&&(o&&n-i>0?n-i<o:r<=i)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(V(this.chart,"redraw",(function(){let t=this.navigator,e=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);e&&t.render(e.min,e.max)})),V(this.chart,"getMargins",(function(){let t=this.navigator,e=t.opposite?"plotTop":"marginBottom";this.inverted&&(e=t.opposite?"marginRight":"plotLeft"),this[e]=(this[e]||0)+(t.navigatorEnabled||!this.inverted?t.height+(this.scrollbar?.options.margin||0)+t.scrollbarHeight:0)+(t.navigatorOptions.margin||0)})),V(this,"setRange",(function(t){this.chart.xAxis[0].setExtremes(t.min,t.max,t.redraw,t.animation,t.eventArguments)})))}destroy(){this.removeEvents(),this.xAxis&&(rt(this.chart.xAxis,this.xAxis),rt(this.chart.axes,this.xAxis)),this.yAxis&&(rt(this.chart.yAxis,this.yAxis),rt(this.chart.axes,this.yAxis)),(this.series||[]).forEach((t=>{t.destroy&&t.destroy()})),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach((t=>{this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null})),[this.handles].forEach((t=>{it(t)})),this.baseSeries.forEach((t=>{t.navigatorSeries=void 0})),this.navigatorEnabled=!1}}!function(t){function e(t,e,i,s,n=[],r=0,o){let a,l,h,c,d,u={},p=this.options.tickPixelInterval,f=this.chart.time,g=[],m=0,v=[],b=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!n||n.length<3||void 0===e)return f.getTimeTicks.apply(f,arguments);let y=n.length;for(a=0;a<y;a++){if(d=a&&n[a-1]>i,n[a]<e&&(m=a),a===y-1||n[a+1]-n[a]>5*r||d){if(n[a]>b){for(l=f.getTimeTicks(t,n[m],n[a],s);l.length&&l[0]<=b;)l.shift();l.length&&(b=l[l.length-1]),g.push(v.length),v=v.concat(l)}m=a+1}if(d)break}if(l){if(c=l.info,o&&c.unitRange<=$t.hour){for(m=1,a=v.length-1;m<a;m++)f.dateFormat("%d",v[m])!==f.dateFormat("%d",v[m-1])&&(u[v[m]]="day",h=!0);h&&(u[v[0]]="day"),c.boundaryTicks=u}c.segmentStarts=g,v.info=c}else Wt(12,!1,this.chart);if(o&&et(p)){let t,e,s,n,r,o=v.length,a=[],l=[],h=o;for(;h--;)e=this.translate(v[h]),s&&(l[h]=s-e),a[h]=s=e;for(l.sort(((t,e)=>t-e)),(n=l[Math.floor(l.length/2)])<.6*p&&(n=null),h=v[o-1]>i?o-1:o,s=void 0;h--;)r=Math.abs(s-(e=a[h])),s&&r<.8*p&&(null===n||r<.8*n)?(u[v[h]]&&!u[v[h+1]]?(t=h+1,s=e):t=h,v.splice(t,1)
vendor: 10,688 bytes, line 45
45):s=e}return v}function i(t){let e=this.ordinal.positions;if(!e)return t;let i,s=e.length-1;return t<0?t=e[0]:t>s?t=e[s]:(s=Math.floor(t),i=t-s),void 0!==i&&void 0!==e[s]?e[s]+(i?i*(e[s+1]-e[s]):0):t}function s(t){let e=this.ordinal,i=this.old?this.old.min:this.min,s=this.old?this.old.transA:this.transA,n=e.getExtendedPositions();if(n?.length){let r=Z((t-i)*s+this.minPixelPadding),o=Z(e.getIndexOfPoint(r,n)),a=Z(o%1);if(o>=0&&o<=n.length-1){let t=n[Math.floor(o)],e=n[Math.ceil(o)];return n[Math.floor(o)]+a*(e-t)}}return t}function n(e,i){let s=t.Additions.findIndexOf(e,i,!0);return e[s]===i?s:s+(i-e[s])/(e[s+1]-e[s])}function r(){this.ordinal||(this.ordinal=new t.Additions(this))}function o(){let{eventArgs:t,options:e}=this;if(this.isXAxis&&et(e.overscroll)&&0!==e.overscroll&&bt(this.max)&&bt(this.min)&&(this.options.ordinal&&!this.ordinal.originalOrdinalRange&&this.ordinal.getExtendedPositions(!1),this.isFullRange=et(this.dataMin)&&et(this.dataMax)&&this.max-this.min==this.dataMax-this.dataMin,this.max===this.dataMax&&("pan"!==t?.trigger||this.isInternal)&&"navigator"!==t?.trigger)){let i=this.ordinal.convertOverscroll(e.overscroll);this.max+=i,!this.isInternal&&et(this.userMin)&&"mousewheel"!==t?.trigger&&(this.min+=i)}}function a(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function l(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function h(t){let e=this.xAxis[0],i=e.ordinal.convertOverscroll(e.options.overscroll),s=t.originalEvent.chartX,n=this.options.chart.panning,r=!1;if("y"!==n?.type&&e.options.ordinal&&e.series.length&&(!t.touches||t.touches.length<=1)){let n,o,a=this.mouseDownX,l=e.getExtremes(),h=l.dataMin,c=l.dataMax,d=l.min,u=l.max,p=this.hoverPoints,f=e.closestPointRange||e.ordinal?.overscrollPointsRange,g=Math.round((a-s)/(e.translationSlope*(e.ordinal.slope||f))),m=e.ordinal.getExtendedPositions(),v={ordinal:{positions:m,extendedOrdinalPositions:m}},b=e.index2val,y=e.val2lin;if(d<=h&&g<=0||u>=c+i&&g>=0)return void t.preventDefault();v.ordinal.positions?Math.abs(g)>1&&(p&&p.forEach((function(t){t.setState()})),o=v.ordinal.positions,i&&(o=v.ordinal.positions=o.concat(e.ordinal.getOverscrollPositions())),c>o[o.length-1]&&o.push(c),this.setFixedRange(u-d),(n=e.navigatorAxis.toFixedRange(void 0,void 0,b.apply(v,[y.apply(v,[d,!0])+g]),b.apply(v,[y.apply(v,[u,!0])+g]))).min>=Math.min(o[0],d)&&n.max<=Math.max(o[o.length-1],u)+i&&e.setExtremes(n.min,n.max,!0,!1,{trigger:"pan"}),this.mouseDownX=s,tt(this.container,{cursor:"move"})):r=!0}else r=!0;r||n&&/y/.test(n.type)?i&&bt(e.dataMax)&&(e.max=e.dataMax+i):t.preventDefault()}function c(){let t=this.xAxis;t?.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.originalOrdinalRange)}function d(t,e){let i,s,r=this.ordinal,o=r.positions,a=r.slope;if(!o)return t;let l=o.length;if(o[0]<=t&&o[l-1]>=t)i=n(o,t);else{if(s=r.getExtendedPositions?.(),!s?.length)return t;let l=s.length;a||(a=(s[l-1]-s[0])/l);let h=n(s,o[0]);if(t>=s[0]&&t<=s[l-1])i=n(s,t)-h;else{if(!e)return t;i=t<s[0]?-h-(s[0]-t)/a:(t-s[l-1])/a+l-h}}return e?i:a*(i||0)+r.offset}t.compose=function(t,n,u){let p=t.prototype;return p.ordinal2lin||(p.getTimeTicks=e,p.index2val=i,p.lin2val=s,p.val2lin=d,p.ordinal2lin=p.val2lin,V(t,"afterInit",r),V(t,"foundExtremes",o),V(t,"afterSetScale",a),V(t,"initialAxisTranslation",l),V(u,"pan",h),V(u,"touchpan",h),V(n,"updatedData",c)),t},t.Additions=class{constructor(t){this.index={},this.axis=t}beforeSetTickPositions(){let t,e,i,s,n,r,o,a=this.axis,l=a.ordinal,h=a.getExtremes(),c=h.min,d=h.max,u=a.brokenAxis?.hasBreaks,p=a.options.ordinal,f=a.options.overscroll&&a.ordinal.convertOverscroll(a.options.overscroll)||0,g=[],m=Number.MAX_VALUE,v=!1,b=!1,y=!1;if(p||u){let h=0;if(a.series.forEach((function(i,s){let n=i.getColumn("x",!0);if(e=[],s>0&&"highcharts-navigator-series"!==i.options.id&&n.length>1&&(b=h!==n[1]-n[0]),h=n[1]-n[0],i.boosted&&(y=i.boosted),i.reserveSpace()&&(!1!==i.takeOrdinalPosition||u)&&(t=(g=g.concat(n)).length,g.sort((function(t,e){return t-e})),m=Math.min(m,Mt(i.closestPointRange,m)),t)){for(s=0;s<t-1;)g[s]!==g[s+1]&&e.push(g[s+1]),s++;e[0]!==g[0]&&e.unshift(g[0]),g=e}})),a.ordinal.originalOrdinalRange||(a.ordinal.originalOrdinalRange=(g.length-1)*m),b&&y&&(g.pop(),g.shift()),(t=g.length)>2){for(i=g[1]-g[0],o=t-1;o--&&!v;)g[o+1]-g[o]!==i&&(v=!0);!a.options.keepOrdinalPadding&&(g[0]-c>i||d-f-g[t-1]>i)&&(v=!0)}else a.options.overscroll&&(2===t?m=g[1]-g[0]:1===t?(m=f,g=[g[0],g[0]+m]):m=l.overscrollPointsRange);v||a.forceOrdinal?(a.options.overscroll&&(l.overscrollPointsRange=m,g=g.concat(l.getOverscrollPositions())),l.positions=g,s=a.ordinal2lin(Math.max(c,g[0]),!0),n=Math.max(a.ordinal2lin(Math.min(d,g[g.length-1]),!0),1),l.slope=r=(d-c)/(n-s),l.offset=c-s*r):(l.overscrollPointsRange=Mt(a.closestPointRange,l.overscrollPointsRange),l.positions=a.ordinal.slope=l.offset=void 0)}a.isOrdinal=p&&v,l.groupIntervalFactor=null}static findIndexOf(t,e,i){let s,n=0,r=t.length-1;for(;n<r;)t[s=Math.ceil((n+r)/2)]<=e?n=s:r=s-1;return t[n]===e||i?n:-1}getExtendedPositions(t=!0){let e,i,s=this,n=s.axis,r=n.constructor.prototype,o=n.chart,a=n.series.reduce(((t,e)=>{let i=e.currentDataGrouping;return t+(i?i.count+i.unitName:"raw")}),""),l=t?n.ordinal.convertOverscroll(n.options.overscroll):0,h=n.getExtremes(),c=s.index;return c||(c=s.index={}),!c[a]&&((e={series:[],chart:o,forceOrdinal:!1,getExtremes:function(){return{min:h.dataMin,max:h.dataMax+l}},applyGrouping:r.applyGrouping,getGroupPixelWidth:r.getGroupPixelWidth,getTimeTicks:r.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:r.ordinal2lin,getIndexOfPoint:r.getIndexOfPoint,val2lin:r.val2lin}).ordinal.axis=e,n.series.forEach((n=>{if(!1===n.takeOrdinalPosition)return;i={xAxis:e,chart:o,groupPixelWidth:n.groupPixelWidth,destroyGroupedData:q.noop,getColumn:n.getColumn,getX:q.noop,applyGrouping:n.applyGrouping,getProcessedData:n.getProcessedData,reserveSpace:n.reserveSpace,visible:n.visible};let r=n.getColumn("x"),a=(Array.isArray(r)?r:Array.from(r)).concat(t?s.getOverscrollPositions():[]);i.dataTable=new Ki({columns:{x:a}}),i.options={...n.options,dataGrouping:n.currentDataGrouping?{firstAnchor:n.options.dataGrouping?.firstAnchor,anchor:n.options.dataGrouping?.anchor,lastAnchor:n.options.dataGrouping?.firstAnchor,enabled:!0,forced:!0,approximation:"open",units:[[n.currentDataGrouping.unitName,[n.currentDataGrouping.count]]]}:{enabled:!1}},e.series.push(i),n.processData.apply(i)})),e.applyGrouping({hasExtremesChanged:!0}),i?.closestPointRange!==i?.basePointRange&&i.currentDataGrouping&&(e.forceOrdinal=!0),n.ordinal.beforeSetTickPositions.apply({axis:e}),!n.ordinal.originalOrdinalRange&&e.ordinal.originalOrdinalRange&&(n.ordinal.originalOrdinalRange=e.ordinal.originalOrdinalRange),e.ordinal.positions&&(c[a]=e.ordinal.positions)),c[a]}getGroupIntervalFactor(t,e,i){let s,n,r=i.getColumn("x",!0),o=r.length,a=[],l=this.groupIntervalFactor;if(!l){for(n=0;n<o-1;n++)a[n]=r[n+1]-r[n];a.sort((function(t,e){return t-e})),s=a[Math.floor(o/2)],t=Math.max(t,r[0]),e=Math.min(e,r[o-1]),this.groupIntervalFactor=l=o*s/(e-t)}return l}getIndexOfPoint(t,e){let i=this.axis,s=i.min,r=i.minPixelPadding;return n(e,s)+Z((t-r)/(i.translationSlope*(this.slope||i.closestPointRange||this.overscrollPointsRange)))}getOverscrollPositions(){let t=this.axis,e=this.convertOverscroll(t.options.overscroll),i=this.overscrollPointsRange,s=[],n=t.dataMax;if(et(i))for(;n<t.dataMax+e;)s.push(n+=i);return s}postProcessTickInterval(t){let e=this.axis,i=this.slope,s=e.closestPointRange;return i&&s?e.options.breaks?s||t:t/(i/s):t}convertOverscroll(t=0){let e=this,i=e.axis,s=function(t){return Mt(e.originalOrdinalRange,et(i.dataMax)&&et(i.dataMin)?i.dataMax-i.dataMin:0)*t};if(yt(t)){let e=parseInt(t,10);if(!1===i.isFullRange&&bt(i.min)&&bt(i.max)&&(this.originalOrdinalRange=i.max-i.min),/%$/.test(t))return s(e/100);if(/px/.test(t)){let t=Math.min(e,.9*i.len)/i.len;return s(t/(i.isFullRange?1-t:1))}return 0}return t}}}(B||(B={}));let Br=B,Nr={rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"→",rangeSelector:{allText:"All",allTitle:"View all",monthText:"{count}m",monthTitle:"View {count} {#eq count 1}month{else}months{/eq}",yearText:"{count}y",yearTitle:"View {count} {#eq count 1}year{else}years{/eq}",ytdText:"YTD",ytdTitle:"View year to date"}},zr={allButtonsEnabled:!1,buttons:[{type:"month",count:1},{type:"month",count:3},{type:"month",count:6},{type:"ytd"},{type:"year",count:1},{type:"all"}],buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%[ebY]",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"var(--highcharts-highlight-color-80)",cursor:"pointer",fontSize:"0.8em"},labelStyle:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"}},{defaultOptions:Rr}=Qt,{composed:Fr}=q,Hr=[];function Wr(){let t,e,i=this.range,s=i.type,n=this.max,r=this.chart.time,o=function(t,e){let i=r.toParts(t),n=i.slice();"year"===s?n[0]+=e:n[1]+=e;let o=r.makeTime.apply(r,n),a=r.toParts(o);return"month"===s&&i[1]===a[1]&&1===Math.abs(e)&&(n[0]=i[0],n[1]=i[1],n[2]=0),(o=r.makeTime.apply(r,n))-t};bt(i)?(t=n-i,e=i):i&&(t=n+o(n,-(i.count||1)),this.chart&&this.chart.setFixedRange(n-t));let a=Mt(this.dataMin,5e-324);return bt(t)||(t=a),t<=a&&(t=a,void 0===e&&(e=o(t,i.count)),this.newMax=Math.min(t+e,Mt(this.dataMax,Number.MAX_VALUE))),bt(n)?!bt(i)&&i&&i._offsetMin&&(t+=i._offsetMin):t=void 0,t}function qr(){this.rangeSelector?.redrawElements()}function $r(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new s(this))}function jr(){let t=this.rangeSelector;if(t){bt(t.deferredYTDClick)&&(t.clickButton(t.deferredYTDClick),delete t.deferredYTDClick);let e=t.options.verticalAlign;t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"top"===e&&(this.extraTopMargin=!0))}}function Gr(){let t,e=this.rangeSelector;if(!e)return;let i=this.xAxis[0].getExtremes(),s=this.legend,n=e&&e.options.verticalAlign;bt(i.min)&&e.render(i.min,i.max),s?.display&&"top"===n&&n===s.options.verticalAlign&&(t=Et(this.spacingBox),"vertical"===s.options.layout?t.y=this.plotTop:t.y+=e.getHeight(),s.group.placed=!1,s.align(t))}function Vr(){for(let t=0,e=Hr.length;t<e;++t){let e=Hr[t];
45if(e[0]===this)return e[1].forEach((t=>t())),void Hr.splice(t,1)}}function Xr(){let t=this.rangeSelector;if(t?.options?.enabled){let{min:e,max:i}=this.xAxis[0].getExtremes();bt(e)&&t.inputGroup&&t.inputGroup.getBBox().width<20&&t.render(e,i);let s=t.getHeight(),n=t.options.verticalAlign;t.options.floating||("bottom"===n?this.marginBottom+=s:"middle"!==n&&(this.plotTop+=s))}}function Yr(t){let e=t.options.rangeSelector,i=this.extraBottomMargin,n=this.extraTopMargin,r=this.rangeSelector;if(e&&e.enabled&&!et(r)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=r=new s(this)),this.extraBottomMargin=!1,this.extraTopMargin=!1,r){let t=e&&e.verticalAlign||r.options&&r.options.verticalAlign;r.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)),(this.extraBottomMargin!==i||this.extraTopMargin!==n)&&(this.isDirtyBox=!0)}}let{defaultOptions:Ur}=Qt,{format:Kr}=Se;function Zr(t){let e=e=>RegExp(`%[[a-zA-Z]*${e}`).test(t);if(yt(t)?-1!==t.indexOf("%L"):t.fractionalSecondDigits)return"text";let i=yt(t)?["a","A","d","e","w","b","B","m","o","y","Y"].some(e):t.dateStyle||t.day||t.month||t.year,s=yt(t)?["H","k","I","l","M","S"].some(e):t.timeStyle||t.hour||t.minute||t.second;return i&&s?"datetime-local":i?"date":s?"time":"text"}class Qr{static compose(t,e){!function(t,e,i){if(s=i,Lt(Fr,"RangeSelector")){let i=e.prototype;t.prototype.minFromRange=Wr,V(e,"afterGetContainer",$r),V(e,"beforeRender",jr),V(e,"destroy",Vr),V(e,"getMargins",Xr),V(e,"redraw",Gr),V(e,"update",Yr),V(e,"beforeRedraw",qr),i.callbacks.push(Gr),ot(Rr,{rangeSelector:zr}),ot(Rr.lang,Nr)}}(t,e,Qr)}constructor(t){this.isDirty=!1,this.buttonOptions=[],this.initialButtonGroupWidth=0,this.maxButtonWidth=()=>{let t=0;return this.buttons.forEach((e=>{let i=e.getBBox();i.width>t&&(t=i.width)})),t},this.init(t)}clickButton(t,e){let i,s,n,r,o,a=this.chart,l=this.buttonOptions[t],h=a.xAxis[0],c=a.scroller&&a.scroller.getUnionExtremes()||h||{},d=l.type,u=l.dataGrouping,p=c.dataMin,f=c.dataMax,g=bt(h?.max)?Math.round(Math.min(h.max,f??h.max)):void 0,m=l._range,v=!0;if(null!==p&&null!==f){if(this.setSelected(t),u&&(this.forcedDataGrouping=!0,Si.prototype.setDataGrouping.call(h||{chart:this.chart},u,!1),this.frozenStates=l.preserveDataGrouping),"month"===d||"year"===d)h?(r={range:l,max:g,chart:a,dataMin:p,dataMax:f},i=h.minFromRange.call(r),bt(r.newMax)&&(g=r.newMax),v=!1):m=l;else if(m)bt(g)&&(g=Math.min((i=Math.max(g-m,p))+m,f),v=!1);else if("ytd"===d){if(!h)return void(this.deferredYTDClick=t);!h.hasData()||bt(f)&&bt(p)||(p=Number.MAX_VALUE,f=-Number.MAX_VALUE,a.series.forEach((t=>{let e=t.getColumn("x");e.length&&(p=Math.min(e[0],p),f=Math.max(e[e.length-1],f))})),e=!1),bt(f)&&bt(p)&&(i=n=(o=this.getYTDExtremes(f,p)).min,g=o.max)}else"all"===d&&h&&(a.navigator&&a.navigator.baseSeries[0]&&(a.navigator.baseSeries[0].xAxis.options.range=void 0),i=p,g=f);if(v&&l._offsetMin&&et(i)&&(i+=l._offsetMin),l._offsetMax&&et(g)&&(g+=l._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=t+1),h)(bt(i)||bt(g))&&(h.setExtremes(i,g,Mt(e,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:l}),a.setFixedRange(l._range));else{s=It(a.options.xAxis||{})[0];let t=V(a,"afterCreateAxes",(function(){let t=a.xAxis[0];t.range=t.options.range=m,t.min=t.options.min=n}));V(a,"load",(function(){let e=a.xAxis[0];a.setFixedRange(l._range),e.options.range=s.range,e.options.min=s.min,t()}))}lt(this,"afterBtnClick")}}setSelected(t){this.selected=this.options.selected=t}init(t){let e=this,i=t.options.rangeSelector,s=t.options.lang,n=i.buttons,r=i.selected,o=function(){let t=e.minInput,i=e.maxInput;t&&t.blur&&lt(t,"blur"),i&&i.blur&&lt(i,"blur")};e.chart=t,e.options=i,e.buttons=[],e.buttonOptions=n.map((t=>(t.type&&s.rangeSelector&&(t.text??(t.text=s.rangeSelector[`${t.type}Text`]),t.title??(t.title=s.rangeSelector[`${t.type}Title`])),t.text=Kr(t.text,{count:t.count||1}),t.title=Kr(t.title,{count:t.count||1}),t))),this.eventsToUnbind=[],this.eventsToUnbind.push(V(t.container,"mousedown",o)),this.eventsToUnbind.push(V(t,"resize",o)),n.forEac
vendor: 15,226 bytes, line 45
45h(e.computeButtonRange),void 0!==r&&n[r]&&this.clickButton(r,!1),this.eventsToUnbind.push(V(t,"load",(function(){t.xAxis&&t.xAxis[0]&&V(t.xAxis[0],"setExtremes",(function(i){bt(this.max)&&bt(this.min)&&this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==i.trigger&&"updatedData"!==i.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))}))),this.createElements()}updateButtonStates(){let t=this,e=this.chart,i=this.dropdown,s=this.dropdownLabel,n=e.xAxis[0],r=Math.round(n.max-n.min),o=!n.hasVisibleSeries,a=864e5,l=e.scroller&&e.scroller.getUnionExtremes()||n,h=l.dataMin,c=l.dataMax,d=t.getYTDExtremes(c,h),u=d.min,p=d.max,f=t.selected,g=t.options.allButtonsEnabled,m=Array(t.buttonOptions.length).fill(0),v=bt(f),b=t.buttons,y=!1,x=null;t.buttonOptions.forEach(((e,i)=>{let s=e._range,l=e.type,d=e.count||1,b=e._offsetMax-e._offsetMin,w=i===f,S=s>c-h,E=s<n.minRange,C=!1,A=s===r;if(w&&S&&(y=!0),n.isOrdinal&&n.ordinal?.positions&&s&&r<s){let t=n.ordinal.positions;t[t.length-1]-t[0]>s&&(A=!0)}else("month"===l||"year"===l)&&r+36e5>={month:28,year:365}[l]*a*d-b&&r-36e5<={month:31,year:366}[l]*a*d+b?A=!0:"ytd"===l?(A=p-u+b===r,C=!w):"all"===l&&(A=n.max-n.min>=c-h);let T=!g&&!(y&&"all"===l)&&(S||E||o),k=y&&"all"===l||!C&&A||w&&t.frozenStates;T?m[i]=3:k&&(!v||i===f)&&(x=i)})),null!==x?(m[x]=2,t.setSelected(x),this.dropdown&&(this.dropdown.selectedIndex=x+1)):(t.setSelected(),this.dropdown&&(this.dropdown.selectedIndex=-1),s&&(s.setState(0),s.attr({text:(Ur.lang.rangeSelectorZoom||"")+" ▾"})));for(let e=0;e<m.length;e++){let n=m[e],r=b[e];if(r.state!==n&&(r.setState(n),i)){i.options[e+1].disabled=3===n,2===n&&(s&&(s.setState(2),s.attr({text:t.buttonOptions[e].text+" ▾"})),i.selectedIndex=e+1);let r=s.getBBox();tt(i,{width:`${r.width}px`,height:`${r.height}px`})}}}computeButtonRange(t){let e=t.type,i=t.count||1,s={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};s[e]?t._range=s[e]*i:("month"===e||"year"===e)&&(t._range=24*{month:30,year:365}[e]*36e5*i),t._offsetMin=Mt(t.offsetMin,0),t._offsetMax=Mt(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin}getInputValue(t){let e="min"===t?this.minInput:this.maxInput,i=this.chart.options.rangeSelector,s=this.chart.time;return e?("text"===e.type&&i.inputDateParser||this.defaultInputDateParser)(e.value,"UTC"===s.timezone,s):0}setInputValue(t,e){let i=this.options,s=this.chart.time,n="min"===t?this.minInput:this.maxInput,r="min"===t?this.minDateBox:this.maxDateBox;if(n){n.setAttribute("type",Zr(i.inputDateFormat||"%e %b %Y"));let t=n.getAttribute("data-hc-time"),o=et(t)?Number(t):void 0;if(et(e)){let t=o;et(t)&&n.setAttribute("data-hc-time-previous",t),n.setAttribute("data-hc-time",e),o=e}n.value=s.dateFormat(this.inputTypeFormats[n.type]||i.inputEditDateFormat,o),r&&r.attr({text:s.dateFormat(i.inputDateFormat,o)})}}setInputExtremes(t,e,i){let s="min"===t?this.minInput:this.maxInput;if(s){let t=this.inputTypeFormats[s.type],n=this.chart.time;if(t){let r=n.dateFormat(t,e);s.min!==r&&(s.min=r);let o=n.dateFormat(t,i);s.max!==o&&(s.max=o)}}}showInput(t){let e="min"===t?this.minDateBox:this.maxDateBox,i="min"===t?this.minInput:this.maxInput;if(i&&e&&this.inputGroup){let t="text"===i.type,{translateX:s=0,translateY:n=0}=this.inputGroup,{x:r=0,width:o=0,height:a=0}=e,{inputBoxWidth:l}=this.options;tt(i,{width:t?o+(l?-2:20)+"px":"auto",height:a-2+"px",border:"2px solid silver"}),tt(i,t&&l?{left:s+r+"px",top:n+"px"}:{left:Math.min(Math.round(r+s-(i.offsetWidth-o)/2),this.chart.chartWidth-i.offsetWidth)+"px",top:n-(i.offsetHeight-a)/2+"px"})}}hideInput(t){let e="min"===t?this.minInput:this.maxInput;e&&tt(e,{top:"-9999em",border:0,width:"1px",height:"1px"})}defaultInputDateParser(t,e,i){return i?.parse(t)||0}drawInput(t){let{chart:e,div:i,inputGroup:s}=this,n=this,r=e.renderer.style||{},o=e.renderer,a=e.options.rangeSelector,l=Ur.lang,h="min"===t;function c(t){let{maxInput:i,minInput:s}=n,r=e.xAxis[0],o=e.scroller?.getUnionExtremes()||r,a=o.dataMin,l=o.dataMax,c=e.xAxis[0].getExtremes()[t],d=n.getInputValue(t);bt(d)&&d!==c&&(h&&i&&bt(a)?d>Number(i.getAttribute("data-hc-time"))?d=void 0:d<a&&(d=a):s&&bt(l)&&(d<Number(s.getAttribute("data-hc-time"))?d=void 0:d>l&&(d=l)),void 0!==d&&r.setExtremes(h?d:r.min,h?r.max:d,void 0,void 0,{trigger:"rangeSelectorInput"}))}let d=l[h?"rangeSelectorFrom":"rangeSelectorTo"]||"",u=o.label(d,0).addClass("highcharts-range-label").attr({padding:2*!!d,height:d?a.inputBoxHeight:0}).add(s),p=o.label("",0).addClass("highcharts-range-input").attr({padding:2,width:a.inputBoxWidth,height:a.inputBoxHeight,"text-align":"center"}).on("click",(function(){n.showInput(t),n[t+"Input"].focus()}));e.styledMode||p.attr({stroke:a.inputBoxBorderColor,"stroke-width":1}),p.add(s);let f=Q("input",{name:t,className:"highcharts-range-selector"},void 0,i);f.setAttribute("type",Zr(a.inputDateFormat||"%e %b %Y")),e.styledMode||(u.css(Et(r,a.labelStyle)),p.css(Et({color:"var(--highcharts-neutral-color-80)"},r,a.inputStyle)),tt(f,ot({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:r.fontSize,fontFamily:r.fontFamily,top:"-9999em"},a.inputStyle))),f.onfocus=()=>{n.showInput(t)},f.onblur=()=>{f===q.doc.activeElement&&c(t),n.hideInput(t),n.setInputValue(t),f.blur()};let g=!1;return f.onchange=()=>{g||(c(t),n.hideInput(t),f.blur())},f.onkeypress=e=>{13===e.keyCode&&c(t)},f.onkeydown=e=>{g=!0,("ArrowUp"===e.key||"ArrowDown"===e.key||"Tab"===e.key)&&c(t)},f.onkeyup=()=>{g=!1},{dateBox:p,input:f,label:u}}getPosition(){let t=this.chart,e=t.options.rangeSelector,i="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0;return{buttonTop:i+e.buttonPosition.y,inputTop:i+e.inputPosition.y-10}}getYTDExtremes(t,e){let i=this.chart.time,s=i.toParts(t)[0];return{max:t,min:Math.max(e,i.makeTime(s,0))}}createElements(){let t=this.chart,e=t.renderer,i=t.container,s=t.options,n=s.rangeSelector,r=n.inputEnabled,o=Mt(s.chart.style?.zIndex,0)+1;!1!==n.enabled&&(this.group=e.g("range-selector-group").attr({zIndex:7}).add(),this.div=Q("div",void 0,{position:"relative",height:0,zIndex:o}),this.buttonOptions.length&&this.renderButtons(),i.parentNode&&i.parentNode.insertBefore(this.div,i),r&&this.createInputs())}createInputs(){this.inputGroup=this.chart.renderer.g("input-group").add(this.group);let t=this.drawInput("min");this.minDateBox=t.dateBox,this.minLabel=t.label,this.minInput=t.input;let e=this.drawInput("max");this.maxDateBox=e.dateBox,this.maxLabel=e.label,this.maxInput=e.input}render(t,e){if(!1===this.options.enabled)return;let i=this.chart,s=i.options.rangeSelector;if(s.inputEnabled){this.inputGroup||this.createInputs(),this.setInputValue("min",t),this.setInputValue("max",e),this.chart.styledMode||(this.maxLabel?.css(s.labelStyle),this.minLabel?.css(s.labelStyle));let n=i.scroller&&i.scroller.getUnionExtremes()||i.xAxis[0]||{};if(et(n.dataMin)&&et(n.dataMax)){let t=i.xAxis[0].minRange||0;this.setInputExtremes("min",n.dataMin,Math.min(n.dataMax,this.getInputValue("max"))-t),this.setInputExtremes("max",Math.max(n.dataMin,this.getInputValue("min"))+t,n.dataMax)}if(this.inputGroup){let t=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((e=>{if(e){let{width:i}=e.getBBox();i&&(e.attr({x:t}),t+=i+s.inputSpacing)}}))}}else this.inputGroup&&(this.inputGroup.destroy(),delete this.inputGroup);!this.chart.styledMode&&this.zoomText&&this.zoomText.css(s.labelStyle),this.alignElements(),this.updateButtonStates()}renderButtons(){var t;let{chart:e,options:i}=this,s=Ur.lang,n=e.renderer,r=Et(i.buttonTheme),o=r&&r.states;delete r.width,delete r.states,this.buttonGroup=n.g("range-selector-buttons").add(this.group);let a=this.dropdown=Q("select",void 0,{position:"absolute",padding:0,border:0,cursor:"pointer",opacity:1e-4},this.div),l=e.userOptions.rangeSelector?.buttonTheme;this.dropdownLabel=n.button("",0,0,(()=>{}),Et(r,{"stroke-width":Mt(r["stroke-width"],0),width:"auto",paddingLeft:Mt(i.buttonTheme.paddingLeft,l?.padding,8),paddingRight:Mt(i.buttonTheme.paddingRight,l?.padding,8)}),o&&o.hover,o&&o.select,o&&o.disabled).hide().add(this.group),V(a,"touchstart",(()=>{a.style.fontSize="16px"}));let h=q.isMS?"mouseover":"mouseenter",c=q.isMS?"mouseout":"mouseleave";V(a,h,(()=>{lt(this.dropdownLabel.element,h)})),V(a,c,(()=>{lt(this.dropdownLabel.element,c)})),V(a,"change",(()=>{lt(this.buttons[a.selectedIndex-1].element,"click")})),this.zoomText=n.label(s.rangeSelectorZoom||"",0).attr({padding:i.buttonTheme.padding,height:i.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(i.labelStyle),(t=i.buttonTheme)["stroke-width"]??(t["stroke-width"]=0)),Q("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,a),this.createButtons()}createButtons(){let{options:t}=this,e=Et(t.buttonTheme),i=e&&e.states,s=e.width||28;delete e.width,delete e.states,this.buttonOptions.forEach(((t,e)=>{this.createButton(t,e,s,i)}))}createButton(t,e,i,s){let{dropdown:n,buttons:r,chart:o,options:a}=this,l=o.renderer,h=Et(a.buttonTheme);n?.add(Q("option",{textContent:t.title||t.text}),e+2),r[e]=l.button(t.text??"",0,0,(i=>{let s,n=t.events&&t.events.click;n&&(s=n.call(t,i)),!1!==s&&this.clickButton(e),this.isActive=!0}),h,s&&s.hover,s&&s.select,s&&s.disabled).attr({"text-align":"center",width:i}).add(this.buttonGroup),t.title&&r[e].attr("title",t.title)}alignElements(){let{buttonGroup:t,buttons:e,chart:i,group:s,inputGroup:n,options:r,zoomText:o}=this,a=i.options,l=a.exporting&&!1!==a.exporting.enabled&&a.navigation&&a.navigation.buttonOptions,{buttonPosition:h,inputPosition:c,verticalAlign:d}=r,u=(t,e,s)=>l&&this.titleCollision(i)&&"top"===d&&s&&e.y-t.getBBox().height-12<(l.y||0)+(l.height||0)+i.spacing[0]?-40:0,p=i.plotLeft;if(s&&h&&c){let a=h.x-i.spacing[3];if(t){if(this.positionButtons(),!this.initialButtonGroupWidth){let t=0;o&&(t+=o.getBBox().width+5),e.forEach(((i,s)=>{t+=i.width||0,s!==e.length-1&&(t+=r.buttonSpacing)})),this.initialButtonGroupWidth=t}p-=i.spacing[3];let n=u(t,h,"right"===h.align||"right"===c.align);this.alignButtonGroup(n),this.buttonGroup?.translateY&&this.dropdownLabel.attr({y:this.buttonGroup.translateY}),s.placed=t.placed=i.hasLoaded}let l=0;r.inputEnabled&&n&&(l=u(n,c,"right"===h.align||"right"===c.align),"left"===c.align?a=p:"right"===c.align&&(a=-Math.max(i.axisOffset[1],-l)),n.align({y:c.y,width:n.getBBox().width,align:c.align,x:c.x+a-2},!0,i.spacingBox),n.placed=i.hasLoaded),this.handleCollision(l),s.align({verticalAlign:d},!0,i.spacingBox);let f=s.alignAttr.translateY,g=s.getBBox().height+20,m=0;if("bottom"===d){let t=i.legend&&i.legend.options;m=f-(g=g+(t&&"bottom"===t.verticalAlign&&t.enabled&&!t.floating?i.legend.legendHeight+Mt(t.margin,10):0)-20)-(r.floating?0:r.y)-(i.titleOffset?i.titleOffset[2]:0)-10}"top"===d?(r.floating&&(m=0),i.titleOffset&&i.titleOffset[0]&&(m=i.titleOffset[0]),m+=i.margin[0]-i.spacing[0]||0):"middle"===d&&(c.y===h.y?m=f:(c.y||h.y)&&(c.y<0||h.y<0?m-=Math.min(c.y,h.y):m=f-g)),s.translate(r.x,r.y+Math.floor(m));let{minInput:v,maxInput:b,dropdown:y}=this;r.inputEnabled&&v&&b&&(v.style.marginTop=s.translateY+"px",b.style.marginTop=s.translateY+"px"),y&&(y.style.marginTop=s.translateY+"px")}}redrawElements(){let t=this.chart,{inputBoxHeight:e,inputBoxBorderColor:i}=this.options;if(this.maxDateBox?.attr({height:e}),this.minDateBox?.attr({height:e}),t.styledMode||(this.maxDateBox?.attr({stroke:i}),this.minDateBox?.attr({stroke:i})),this.isDirty){this.isDirty=!1,this.isCollapsed=void 0;let t=this.options.buttons??[],e=Math.min(t.length,this.buttonOptions.length),{dropdown:i,options:s}=this,n=Et(s.buttonTheme),r=n&&n.states,o=n.width||28;if(t.length<this.buttonOptions.length)for(let e=this.buttonOptions.length-1;e>=t.length;e--)this.buttons.pop()?.destroy(),this.dropdown?.options.remove(e+1);for(let s=e-1;s>=0;s--){let e=t[s];this.buttons[s].destroy(),i?.options.remove(s+1),this.createButton(e,s,o,r),this.computeButtonRange(e)}if(t.length>this.buttonOptions.length)for(let e=this.buttonOptions.length;e<t.length;e++)this.createButton(t[e],e,o,r),this.computeButtonRange(t[e]);this.buttonOptions=this.options.buttons??[],et(this.options.selected)&&this.buttons.length&&this.clickButton(this.options.selected,!1)}}alignButtonGroup(t,e){let{chart:i,options:s,buttonGroup:n,dropdown:r,dropdownLabel:o}=this,{buttonPosition:a}=s,l=i.plotLeft-i.spacing[3],h=a.x-i.spacing[3],c=i.plotLeft;"right"===a.align?(h+=t-l,this.hasVisibleDropdown&&(c=i.chartWidth+t-this.maxButtonWidth()-20)):"center"===a.align&&(h-=l/2,this.hasVisibleDropdown&&(c=i.chartWidth/2-this.maxButtonWidth())),r&&tt(r,{left:c+"px",top:n?.translateY+"px"}),o?.attr({x:c}),n&&n.align({y:a.y,width:Mt(e,this.initialButtonGroupWidth),align:a.align,x:h},!0,i.spacingBox)}positionButtons(){let{buttons:t,chart:e,options:i,zoomText:s}=this,n=e.hasLoaded?"animate":"attr",{buttonPosition:r}=i,o=e.plotLeft,a=o;s&&"hidden"!==s.visibility&&(s[n]({x:Mt(o+r.x,o)}),a+=r.x+s.getBBox().width+5);for(let e=0,s=this.buttonOptions.length;e<s;++e)"hidden"!==t[e].visibility?(t[e][n]({x:a}),a+=(t[e].width||0)+i.buttonSpacing):t[e][n]({x:o})}handleCollision(t){let{chart:e,buttonGroup:i,inputGroup:s,initialButtonGroupWidth:n}=this,{buttonPosition:r,dropdown:o,inputPosition:a}=this.options,l=()=>{s&&i&&s.attr({translateX:s.alignAttr.translateX+(e.axisOffset[1]>=-t?0:-t),translateY:s.alignAttr.translateY+i.getBBox().height+10})};s&&i?a.align===r.align?(l(),n>e.plotWidth+t-20?this.collapseButtons():this.expandButtons()):n-t+s.getBBox().width>e.plotWidth?"responsive"===o||"always"===o?this.collapseButtons():l():this.expandButtons():i&&"responsive"===o&&(n>e.plotWidth?this.collapseButtons():this.expandButtons()),i&&("always"===o&&this.collapseButtons(),"never"===o&&this.expandButtons()),this.alignButtonGroup(t)}collapseButtons(){let{buttons:t,zoomText:e}=this;!0!==this.isCollapsed&&(this.isCollapsed=!0,e.hide(),t.forEach((t=>{t.hide()})),this.showDropdown())}expandButtons(){let{buttons:t,zoomText:e}=this;!1!==this.isCollapsed&&(this.isCollapsed=!1,this.hideDropdown(),e.show(),t.forEach((t=>{t.show()})),this.positionButtons())}showDropdown(){let{buttonGroup:t,dropdownLabel:e,dropdown:i}=this;t&&i&&(e.show(),tt(i,{visibility:"inherit"}),this.hasVisibleDropdown=!0)}hideDropdown(){let{dropdown:t}=this;t&&(this.dropdownLabel.hide(),tt(t,{visibility:"hidden"}),this.hasVisibleDropdown=!1)}getHeight(){let t=this.options,e=this.group,i=t.inputPosition,s=t.buttonPosition,n=t.y,r=s.y,o=i.y,a=0;if(t.height)return t.height;this.alignElements(),a=e?e.getBBox(!0).height+13+n:0;let l=Math.min(o,r);return(o<0&&r<0||o>0&&r>0)&&(a+=Math.abs(l)),a}titleCollision(t){return!(t.options.title.text||t.options.subtitle.text)}update(t,e=!0){let i=this.chart;if(Et(!0,this.options,t),this.options.selected&&this.options.selected>=this.options.buttons.length&&(this.options.selected=void 0,i.options.rangeSelector.selected=void 0),et(t.enabled))return this.destroy(),this.init(i);this.isDirty=!!t.buttons||!!t.buttonTheme,e&&this.render()}destroy(){let t=this,e=t.minInput,i=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach((t=>t())),t.eventsToUnbind=void 0),it(t.buttons),e&&(e.onfocus=e.onblur=e.onchange=null),i&&(i.onfocus=i.onblur
45=i.onchange=null),At(t,(function(e,i){e&&"chart"!==i&&(e instanceof Ie?e.destroy():e instanceof window.HTMLElement&&st(e),delete t[i]),e!==Qr.prototype[i]&&(t[i]=null)}),this),this.buttons=[]}}ot(Qr.prototype,{inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}});let{format:Jr}=Se,{getOptions:to}=Qt,{setFixedRange:eo}=xr;function io(t,e,i){return"xAxis"===t?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0}:"yAxis"===t?{labels:{y:-2},opposite:i.opposite??e.opposite??!0,showLastLabel:!(!e.categories&&"category"!==e.type),title:{text:void 0}}:{}}function so(t,e){if("xAxis"===t){let t={type:"datetime",categories:void 0};return Mt(e.navigator?.enabled,br.enabled,!0)&&(t.startOnTick=!1,t.endOnTick=!1),t}return{}}class no extends Bs{init(t,e){let i=to(),s=t.xAxis,n=t.yAxis,r=Mt(t.navigator?.enabled,br.enabled,!0);t.xAxis=t.yAxis=void 0;let o=Et({chart:{panning:{enabled:!0,type:"x"},zooming:{pinchType:"x",mouseWheel:{type:"x"}}},navigator:{enabled:r},scrollbar:{enabled:Mt(kr.enabled,!0)},rangeSelector:{enabled:Mt(zr.enabled,!0)},title:{text:null},tooltip:{split:Mt(i.tooltip?.split,!0),crosshairs:!0},legend:{enabled:!1}},t,{isStock:!0});t.xAxis=s,t.yAxis=n,o.xAxis=It(t.xAxis||{}).map((e=>Et(io("xAxis",e,i.xAxis),e,so("xAxis",t)))),o.yAxis=It(t.yAxis||{}).map((t=>Et(io("yAxis",t,i.yAxis),t))),super.init(o,e)}createAxis(t,e){return e.axis=Et(io(t,e.axis,to()[t]),e.axis,so(t,this.userOptions)),super.createAxis(t,e)}}V(Bs,"update",(function(t){let e=t.options;"scrollbar"in e&&this.navigator&&(Et(!0,this.options.scrollbar,e.scrollbar),this.navigator.update({enabled:!!this.navigator.navigatorEnabled}),delete e.scrollbar)})),function(t){function e(t){if(!(this.crosshair?.label?.enabled&&this.cross&&bt(this.min)&&bt(this.max)))return;let e,i,s,n=this.chart,r=this.logarithmic,o=this.crosshair.label,a=this.horiz,l=this.opposite,h=this.left,c=this.top,d=this.width,u="inside"===this.options.tickPosition,p=!1!==this.crosshair.snap,f=t.e||this.cross?.e,g=t.point,m=this.crossLabel,v=o.format,b="",y=0,x=this.min,w=this.max;r&&(x=r.lin2log(this.min),w=r.lin2log(this.max));let S=a?"center":l?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center";!m&&(m=this.crossLabel=n.renderer.label("",0,void 0,o.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(g?.series?g.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:o.align||S,padding:Mt(o.padding,8),r:Mt(o.borderRadius,3),zIndex:2}).add(this.labelGroup),n.styledMode||m.attr({fill:o.backgroundColor||g?.series?.color||"var(--highcharts-neutral-color-60)",stroke:o.borderColor||"","stroke-width":o.borderWidth||0}).css(ot({color:"var(--highcharts-background-color)",fontWeight:"normal",fontSize:"0.7em",textAlign:"center"},o.style||{}))),a?(e=p?(g.plotX||0)+h:f.chartX,i=c+(l?0:this.height)):(e=h+this.offset+(l?d:0),i=p?(g.plotY||0)+c:f.chartY),v||o.formatter||(this.dateTime&&(b="%b %d, %Y"),v="{value"+(b?":"+b:"")+"}");let E=p?this.isXAxis?g.x:g.y:this.toValue(a?f.chartX:f.chartY),C=g?.series?g.series.isPointInside(g):bt(E)&&E>x&&E<w,A="";v?A=Jr(v,{value:E},n):o.formatter&&bt(E)&&(A=o.formatter.call(this,E,this)),m.attr({text:A,x:e,y:i,visibility:C?"inherit":"hidden"});let T=m.getBBox();!bt(m.x)||a||l||(e=m.x-T.width/2),bt(m.y)&&(a?(u&&!l||!u&&l)&&(i=m.y-T.height):i=m.y-T.height/2),s=a?{left:h,right:h+this.width}:{left:"left"===this.labelAlign?h:0,right:"right"===this.labelAlign?h+this.width:n.chartWidth};let k=m.translateX||0;k<s.left&&(y=s.left-k),k+T.width>=s.right&&(y=-(k+T.width-s.right)),m.attr({x:Math.max(0,e+y),y:Math.max(0,i),anchorX:a?e:this.opposite?0:n.chartWidth,anchorY:a?this.opposite?n.chartHeight:0:i+T.height/2})}function i(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())}function s(t){let e=this.chart,i=this.options,s=e._labelPanes=e._labelPanes||{},n=i.labels;if(e.options.isStock&&"yAxis"===this.coll){let e=i.top+","+i.height;!s[e]&&n.enabled&&(15===n.distance&&1===this.side&&(n.distance=0),void 0===n.align&&(n.align="right"),s[e]=this,t.align="right",t.preventDefault())}}function n(){let t=this.chart,e=this.options&&this.options.top+","+this.options.height;e&&t._labelPanes&&t._labelPanes[e]===this&&delete t._labelPanes[e]}function r(t){let e=this.options,i=this.isLinked&&!this.series&&this.linkedParent?this.linkedParent.series:this.series,{chart:s,horiz:n}=this,r=s.renderer,o=[],{acrossPanes:a=!0,force:l,translatedValue:h,value:c}=t,d=(this.isXAxis?s.yAxis:s.xAxis)||[],u=n?"top":"left",p=n?"height":"width",f=et(e[u])||et(e[p]);function g(t,e,i){o.push(["M",n?t:e,n?e:t],["L",n?t:i,n?i:t])}let m,v,b=[];if((s.options.isStock||f)&&("xAxis"===this.coll||"yAxis"===this.coll)){let y,x;for(let n of(t.preventDefault(),x=e[y="xAxis"===this.coll?"yAxis":"xAxis"],b=a&&!e.isInternal?d.filter((t=>!t.options.isInternal)):bt(x)?[s[y][x]]:yt(x)?[s.get(x)]:i.map((t=>t[y])),d))if(!n.options.isInternal){let t=n.isXAxis?"yAxis":"xAxis";this===(et(n.options[t])&&s[t][n.options[t]])&&b.push(n)}for(let t of(m=b.length?[]:[this.isXAxis?s.yAxis[0]:s.xAxis[0]],b))-1!==m.indexOf(t)||ft(m,(e=>e.pos===t.pos&&e.len===t.len))||m.push(t);if(bt(v=Mt(h,this.translate(c||0,void 0,void 0,t.old)))){let t,e=n?v+this.pos:this.pos+this.len-v;if("pass"!==l&&(e<this.pos||e>this.pos+this.len)&&(l?e=K(e,this.pos,this.pos+this.len):t=!0),!t)if(f&&this[p]>0&&!a)g(e,this[u],this[u]+this[p]);else for(let t of m)g(e,t.pos,t.pos+t.len)}t.path=o.length>0?r.crispPolyLine(o,t.lineWidth||1):void 0}}function o(t){if(this.chart.options.isStock){let e;this.is("column")||this.is("columnrange")?e={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(e={marker:{enabled:!1,radius:2}}),e&&(t.plotOptions[this.type]=Et(t.plotOptions[this.type],e))}}function a(){let t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&Mt(e.enabled,t.options.isStock)}function l(t,e){for(let i=0;i<t.length;i+=2){let s=t[i],n=t[i+1];et(s[1])&&s[1]===n[1]&&(s[1]=n[1]=J(s[1],e)),et(s[2])&&s[2]===n[2]&&(s[2]=n[2]=J(s[2],e))}return t}t.compose=function(t,h,c,d){let u=c.prototype;
vendor: 10,739 bytes, line 45
45u.forceCropping||(V(h,"afterDrawCrosshair",e),V(h,"afterHideCrosshair",i),V(h,"autoLabelAlign",s),V(h,"destroy",n),V(h,"getPlotLinePath",r),t.prototype.setFixedRange=eo,u.forceCropping=a,V(c,"setOptions",o),d.prototype.crispPolyLine=l)},t.stockChart=function(e,i,s){let n=new t(e,i,s);return n.promise||n}}(no||(no={}));let ro=no,{column:{prototype:{pointClass:oo}}}=ss.seriesTypes,{composed:ao}=q;(N||(N={})).compose=function(t){if(Lt(ao,"Series.FinancialSymbols")){let e=t.prototype.symbols,i=(t,e,i,s,n)=>{let r=Math.round(t+i/2),o=Math.round(e+s*(n?.3:.5)),a=[["M",r,e],["L",r,e+s],["M",r,o],["L",t+i,o]];if(n){let i=Math.round(e+.7*s);a.push(["M",t,i],["L",r,i])}return a};e.hlc=(t,e,s,n)=>i(t,e,s,n),e.ohlc=(t,e,s,n)=>i(t,e,s,n,!0),e.candlestick=(t,i,s,n)=>{let r=Math.round(t+s/2),o=Math.round(i+.25*n),a=Math.round(i+.75*n),l=[["M",r,i],["L",r,o],["M",r,a],["L",r,i+n]];return e.rect&&l.push(...e.rect(t,o,s,a-o)),l}}};let lo=N,{column:ho}=ss.seriesTypes,{defaultOptions:co}=Qt;class uo extends ho{static compose(t,e){lo.compose(e)}extendStem(t,e,i){let s=t[0],n=t[1];"number"==typeof s[2]&&(s[2]=Math.max(i+e,s[2])),"number"==typeof n[2]&&(n[2]=Math.min(i-e,n[2]))}getPointPath(t){let e=t.series,i=e.borderWidth,s=J(t.plotX||0,i),n=Math.round(t.shapeArgs.width/2),r=[["M",s,Math.round(t.yBottom)],["L",s,Math.round(t.plotHigh)]];if(null!==t.close){let o=J(t.plotClose,i);r.push(["M",s,o],["L",s+n,o]),e.extendStem(r,i/2,o)}return r}init(){super.init.apply(this,arguments),this.options.stacking=void 0}pointAttribs(t,e){let i=super.pointAttribs.call(this,t,e);return t&&delete i.fill,i}toYData(t){return[t.high,t.low,t.close]}translate(){let t=this,e=t.yAxis,i=this.pointArrayMap&&this.pointArrayMap.slice()||[],s=i.map((t=>`plot${t.charAt(0).toUpperCase()+t.slice(1)}`)),n=t.options.lineWidth??1;s.push("yBottom"),i.push("low"),super.translate.apply(t),t.borderWidth=n,t.points.concat(t.condemnedPoints).forEach((n=>{i.forEach((function(i,r){let o=n[i];null!==o&&(t.dataModify&&(o=t.dataModify.modifyValue(o)),n[s[r]]=e.toPixels(o,!0))}));let{x:r=0,y:o=0,width:a=0,height:l=0}=n.shapeArgs||{};n.dlBox={x:r,y:o,width:a,height:l},n.shapeType="path",n.shapeArgs={d:t.getPointPath(n)},n.tooltipPos[1]=n.plotHigh+e.pos-t.chart.plotTop}))}}uo.defaultOptions=Et(ho.defaultOptions,{legendSymbol:"hlc",lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>{series.chart.options.lang.stockHigh}: {point.high}<br/>{series.chart.options.lang.stockLow}: {point.low}<br/>{series.chart.options.lang.stockClose}: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),ot(uo.prototype,{pointClass:class extends oo{getOrigin({x:t=0},e={}){let i=e.d,s=t-(this.plotX||0);return i?{d:i.map((t=>{let e=t.slice();return"number"==typeof e[1]&&(e[1]+=s),e}))}:e}},animate:null,directTouch:!1,keysAffectYAxis:["low","high"],pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),ot(co.lang,{stockOpen:"Open",stockHigh:"High",stockLow:"Low",stockClose:"Close"}),ss.registerSeriesType("hlc",uo);let{seriesTypes:{hlc:po}}=ss;class fo extends po.prototype.pointClass{getClassName(){return super.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")}resolveUpColor(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)}resolveColor(){super.resolveColor(),this.series.is("heikinashi")||this.resolveUpColor()}getZone(){let t=super.getZone();return this.resolveUpColor(),t}applyOptions(){return super.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this}}let{composed:go}=q,{hlc:mo}=ss.seriesTypes;function vo(t){let e=t.options,i=e.dataGrouping;i&&e.useOhlcData&&"highcharts-navigator-series"!==e.id&&(i.approximation="ohlc")}function bo(t){let e=t.options;e.useOhlcData&&"highcharts-navigator-series"!==e.id&&ot(this,{pointValKey:yo.prototype.pointValKey,pointArrayMap:yo.prototype.pointArrayMap,toYData:yo.prototype.toYData})}class yo extends mo{static compose(t){Lt(go,"OHLCSeries")&&(V(t,"afterSetOptions",vo),V(t,"init",bo))}getPointPath(t){let e=super.getPointPath(t),i=this.borderWidth,s=J(t.plotX||0,i),n=Math.round(t.shapeArgs.width/2);if(null!==t.open){let r=J(t.plotOpen,i);e.push(["M",s,r],["L",s-n,r]),super.extendStem(e,i/2,r)}return e}pointAttribs(t,e){let i=super.pointAttribs.call(this,t,e),s=this.options;return delete i.fill,!t?.options.color&&s.upColor&&(t?.open||0)<(t?.close||0)&&(i.stroke=s.upColor),i}toYData(t){return[t.open,t.high,t.low,t.close]}}yo.defaultOptions=Et(mo.defaultOptions,{legendSymbol:"ohlc",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>{series.chart.options.lang.stockOpen}: {point.open}<br/>{series.chart.options.lang.stockHigh}: {point.high}<br/>{series.chart.options.lang.stockLow}: {point.low}<br/>{series.chart.options.lang.stockClose}: {point.close}<br/>'}}),ot(yo.prototype,{pointClass:fo,pointArrayMap:["open","high","low","close"]}),ss.registerSeriesType("ohlc",yo);let{column:xo,ohlc:wo}=ss.seriesTypes;class So extends wo{pointAttribs(t,e){let i=xo.prototype.pointAttribs.call(this,t,e),s=this.options,n=(t?.open||0)<(t?.close||0),r=s.lineColor||this.color,o=t?.color||this.color;if(i["stroke-width"]=s.lineWidth,i.fill=t?.options.color||n&&s.upColor||o,i.stroke=t?.options.lineColor||n&&s.upLineColor||r,e){let t=s.states[e];i.fill=t.color||i.fill,i.stroke=t.lineColor||i.stroke,i["stroke-width"]=t.lineWidth||i["stroke-width"]}return i}getPointPath(t){let e=this.borderWidth,i=J(t.plotX||0,e),s=t.plotOpen,n=t.plotClose,r=Math.min(s,n),o=Math.max(s,n),a=Math.round(t.shapeArgs.width/2),l=this.yAxis.reversed,h=l?o!==t.yBottom:Math.round(r)!==Math.round(t.plotHigh||0),c=l?Math.round(r)!==Math.round(t.plotHigh||0):o!==t.yBottom,d=J(r,e),u=J(o,e),p=[];return p.push(["M",i-a,u],["L",i-a,d],["L",i+a,d],["L",i+a,u],["Z"],["M",i,d],["L",i,h?Math.round(l?t.yBottom:t.plotHigh):d],["M",i,u],["L",i,c?Math.round(l?t.plotHigh:t.yBottom):u]),p}}So.defaultOptions=Et(wo.defaultOptions,{tooltip:wo.defaultOptions.tooltip},{states:{hover:{lineWidth:2}},threshold:null,legendSymbol:"candlestick",lineColor:"var(--highcharts-neutral-color-100)",lineWidth:1,upColor:"var(--highcharts-background-color)",stickyTracking:!0}),ss.registerSeriesType("candlestick",So);let{column:{prototype:{pointClass:Eo}}}=ss.seriesTypes,{composed:Co}=q;function Ao(t,e,i,s,n){let r=n&&n.anchorX||t,o=n&&n.anchorY||e,a=this.circle(r-1,o-1,2,2);return a.push(["M",r,o],["L",t,e+s],["L",t,e],["L",t+i,e],["L",t+i,e+s],["L",t,e+s],["Z"]),a}function To(t,e){t[e+"pin"]=function(i,s,n,r,o){let a,l=o&&o.anchorX,h=o&&o.anchorY;if("circle"===e&&r>n&&(i-=Math.round((r-n)/2),n=r),a=t[e](i,s,n,r,o),l&&h){let o=l;if("circle"===e)o=i+n/2;else{let t=a[0],e=a[1];"M"===t[0]&&"L"===e[0]&&(o=(t[1]+e[1])/2)}let c=s>h?s:s+r;a.push(["M",o,c],["L",l,h]),a=a.concat(t.circle(l-1,h-1,2,2))}return a}}(z||(z={})).compose=function(t){if(Lt(Co,"Series.Flags")){let e=t.prototype.symbols;e.flag=Ao,To(e,"circle"),To(e,"square"),e["flag-icon"]=function(t,e,i,s){return Ao.call(this,t,e,i,Math.round(.6*s),{anchorX:Math.round(t),anchorY:Math.round(e+s)})}}};let ko=z,{composed:Mo}=q,{prototype:Oo}=mn,{prototype:Lo}=ps;var _o=R||(R={});function Po(t){return Lo.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this,t)}function Do(){Oo.translate.apply(this);let t,e,i,s,n,r,o,a=this,l=a.options,h=a.chart,c=a.points,d=l.onSeries,u=d&&h.get(d),p=u&&u.options.step,f=u&&u.points,g=h.inverted,m=a.xAxis,v=a.yAxis,b=c.length-1,y=l.onKey||"y",x=f&&f.length,w=0;if(u&&u.visible&&x)for(w=(u.pointXOffset||0)+(u.barW||0)/2,r=u.currentDataGrouping,s=f[x-1].x+(r?r.totalRange:0),Bt(c,((t,e)=>t.x-e.x)),y="plot"+y[0].toUpperCase()+y.substr(1);x--&&c[b];)if(i=f[x],(t=c[b]).y=i.y,i.x<=t.x&&void 0!==i[y]){if(t.x<=s&&(t.plotY=i[y],i.x<t.x&&!p&&(n=f[x+1]))&&void 0!==n[y])if(et(t.plotX)&&u.is("spline")){let e,s=[i.plotX||0,i.plotY||0],r=[n.plotX||0,n.plotY||0],o=i.controlPoints?.high||s,a=n.controlPoints?.low||r,l=(t,e)=>Math.pow(1-t,3)*s[e]+3*(1-t)*(1-t)*t*o[e]+3*(1-t)*t*t*a[e]+t*t*t*r[e],h=0,c=1;for(let i=0;i<100;i++){let i=(h+c)/2,s=l(i,0);if(null===s)break;if(.25>Math.abs(s-t.plotX)){e=i;break}s<t.plotX?h=i:c=i}et(e)&&(t.plotY=l(e,1),t.y=v.toValue(t.plotY,!0))}else o=(t.x-i.x)/(n.x-i.x),t.plotY+=o*(n[y]-i[y]),t.y+=o*(n.y-i.y);if(b--,x++,b<0)break}c.forEach(((t,i)=>{let s;t.plotX+=w,(void 0===t.plotY||g)&&(t.plotX>=0&&t.plotX<=m.len?g?(t.plotY=m.translate(t.x,0,1,0,1),t.plotX=et(t.y)?v.translate(t.y,0,0,0,1):0):t.plotY=(m.opposite?0:a.yAxis.len)+m.offset:t.shapeArgs={}),(e=c[i-1])&&e.plotX===t.plotX&&(void 0===e.stackIndex&&(e.stackIndex=0),s=e.stackIndex+1),t.stackIndex=s})),this.onSeries=u}_o.compose=function(t){if(Lt(Mo,"OnSeries")){let e=t.prototype;e.getPlotBox=Po,e.translate=Do}return t},_o.getPlotBox=Po,_o.translate=Do;let Io=R,{noop:Bo}=q,{distribute:No}=Ee,{series:zo,seriesTypes:{column:Ro}}=ss;class Fo extends Ro{animate(t){t&&this.setClip()}drawPoints(){let t,e,i,s,n,r,o,a,l,h,c,d=this.points,u=this.chart,p=u.renderer,f=u.inverted,g=this.options,m=g.y,v=this.yAxis,b={},y=[],x=bt(g.borderRadius)?g.borderRadius:0;for(s=d.length;s--;)n=d[s],h=(f?n.plotY:n.plotX)>this.xAxis.len,t=n.plotX,o=n.stackIndex,i=n.options.shape||g.shape,void 0!==(e=n.plotY)&&(e=n.plotY+m-(void 0!==o&&o*g.stackDistance)),n.anchorX=o?void 0:n.plotX,a=o?void 0:n.plotY,c="flag"!==i,r=n.graphic,void 0!==e&&t>=0&&!h?(r&&n.hasNewShapeType()&&(r=r.destroy()),r||(r=n.graphic=p.label("",0,void 0,i,void 0,void 0,g.useHTML).addClass(n.getClassName()).add(this.markerGroup),n.graphic.div&&(n.graphic.div.point=n),r.isNew=!0),r.attr({align:c?"center":"left",width:g.width,height:g.height,"text-align":g.textAlign,r:x}),u.styledMode||r.attr(this.pointAttribs(n)).css(Et(g.style,n.style)).shadow(g.shadow),t>0&&(t-=r.strokeWidth()%2),l={y:e,anchorY:a},g.allowOverlapX&&(l.x=t,l.anchorX=n.anchorX),r.attr({text:n.options.title??g.title??"A"})[r.isNew?"attr":"animate"](l),g.allowOverlapX||(b[n.plotX]?b[n.plotX].size=Math.max(b[n.plotX].size,r.width||0):b[n.plotX]={align:.5*!!c,size:r.width||0,target:t,anchorX:t}),n.tooltipPos=[t,e+v.pos-u.plotTop]):r&&(n.graphic=r.destroy());if(!g.allowOverlapX){let t=100;for(let e of(At(b,(function(e){e.plotX=e.anchorX,y.push(e),t=Math.max(e.size,t)})),No(y,f?v.len:this.xAxis.len,t),d)){let t=e.plotX,i=e.graphic,s=i&&b[t];s&&i&&(et(s.pos)?i[i.isNew?"attr":"animate"]({x:s.pos+(s.align||0)*s.size,anchorX:e.anchorX}).show().isNew=!1:i.hide().isNew=!0)}}g.useHTML&&this.markerGroup&&Rt(this.markerGroup,"on",(function(t){return Ie.prototype.on.apply(t.apply(this,[].slice.call(arguments,1
45)),[].slice.call(arguments,1))}))}drawTracker(){let t=this.points;for(let e of(super.drawTracker(),t)){let i=e.graphic;i&&(e.unbindMouseOver&&e.unbindMouseOver(),e.unbindMouseOver=V(i.element,"mouseover",(function(){for(let s of(e.stackIndex>0&&!e.raised&&(e._y=i.y,i.attr({y:e._y-8}),e.raised=!0),t))s!==e&&s.raised&&s.graphic&&(s.graphic.attr({y:s._y}),s.raised=!1)})))}}pointAttribs(t,e){let i=this.options,s=t&&t.color||this.color,n=i.lineColor,r=t&&t.lineWidth,o=t&&t.fillColor||i.fillColor;return e&&(o=i.states[e].fillColor,n=i.states[e].lineColor,r=i.states[e].lineWidth),{fill:o||s,stroke:n||s,"stroke-width":r||i.lineWidth||0}}setClip(){zo.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])}}Fo.compose=ko.compose,Fo.defaultOptions=Et(Ro.defaultOptions,{borderRadius:0,legendSymbol:"flag-icon",pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"var(--highcharts-background-color)",lineWidth:1,states:{hover:{lineColor:"var(--highcharts-neutral-color-100)",fillColor:"var(--highcharts-highlight-color-20)"}},style:{color:"var(--highcharts-neutral-color-100)",fontSize:"0.7em",fontWeight:"bold"}}),Io.compose(Fo),ot(Fo.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:class extends Eo{constructor(){super(...arguments),this.ttBelow=!1}isValid(){return bt(this.y)||void 0===this.y}hasNewShapeType(){let t=this.options.shape||this.series.options.shape;return this.graphic&&t&&t!==this.graphic.symbolKey}},sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:Bo,init:zo.prototype.init}),ss.registerSeriesType("flags",Fo),function(t){function e(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function i(){Object.keys(this.options.breaks?.[0]||{}).length&&(this.options.ordinal=!1)}function s(){let t=this.brokenAxis;if(t?.hasBreaks){let e=this.tickPositions,i=this.tickPositions.info,s=[];for(let i=0;i<e.length;i++)t.isInAnyBreak(e[i])||s.push(e[i]);this.tickPositions=s,this.tickPositions.info=i}}function n(){this.brokenAxis||(this.brokenAxis=new h(this))}function r(){let{isDirty:t,options:{connectNulls:e},points:i,xAxis:s,yAxis:n}=this;if(t){let t=i.length;for(;t--;){let r=i[t],o=(null!==r.y||!1!==e)&&(s?.brokenAxis?.isInAnyBreak(r.x,!0)||n?.brokenAxis?.isInAnyBreak(r.y,!0));r.visible=!o&&!1!==r.options.visible}}}function o(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,Mt(this.pointArrayMap,["y"]))}function a(t,e){let i,s,n,r=this,o=r.points;if(t?.brokenAxis?.hasBreaks){let a=t.brokenAxis;e.forEach((function(e){i=a?.breakArray||[],s=t.isXAxis?t.min:Mt(r.options.threshold,t.min),o.forEach((function(r){n=r["stack"+e.toUpperCase()]??r[e],i.forEach((function(e){if(bt(s)&&bt(n)){let i="";s<e.from&&n>e.to||s>e.from&&n<e.from?i="pointBreak":(s<e.from&&n>e.from&&n<e.to||s>e.from&&n>e.to&&n<e.from)&&(i="pointInBreak"),i&&lt(t,i,{point:r,brk:e})}}))}))}))}}function l(){let t=this.currentDataGrouping?.gapSize,e=this.points.slice(),i=this.yAxis,s=this.options.gapSize,n=e.length-1;if(s&&n>0){let r,o;for("value"!==this.options.gapUnit&&(s*=this.basePointRange),t&&t>s&&t>=this.basePointRange&&(s=t);n--;)if(o&&!1!==o.visible||(o=e[n+1]),r=e[n],!1!==o.visible&&!1!==r.visible){if(o.x-r.x>s){let t=(r.x+o.x)/2;e.splice(n+1,0,{isNull:!0,x:t}),i.stacking&&this.options.stacking&&((i.stacking.stacks[this.stackKey][t]=new $s(i,i.options.stackLabels,!1,t,this.stack??"")).total=0)}o=r}}return this.getGraphPath(e)}t.compose=function(t,h){if(!t.keepProps.includes("brokenAxis")){t.keepProps.push("brokenAxis"),V(t,"init",n),V(t,"afterInit",e),V(t,"afterSetTickPositions",s),V(t,"afterSetOptions",i);let c=h.prototype;c.drawBreaks=a,c.gappedPath=l,V(h,"afterGeneratePoints",r),V(h,"afterRender",o)}return t};class h{static isInBreak(t,e){let i=t.repeat||1/0,s=t.from,n=t.to-t.from,r=e>=s?(e-s)%i:i-(s-e)%i;return t.inclusive?r<=n:r<n&&0!==r}static lin2Val(t){let e=this.min||0,i=this.brokenAxis?.breakArray;if(!i?.length||!bt(t))return t;let s=t;if(t>e)for(let t of i){if(t.from>s)break;(t.to<=s&&t.to>e||h.isInBreak(t,s))&&(s+=t.len)}else if(t<e)for(let t of i){if(t.from>e)break;(t.from>=s&&t.from<e||h.isInBreak(t,s))&&(s-=t.len)}return s}static val2Lin(t){let e=this.min||0,i=this.brokenAxis?.breakArray;if(!i?.length||!bt(t))return t;let s=t;if(t>e)for(let n of i)if(n.to<=t&&n.to>e)s-=n.len;else{if(n.from>t)break;
45if(h.isInBreak(n,t)){s-=t-n.from;break}}else if(t<e)for(let n of i)if(n.from>=t&&n.from<e)s+=n.len;else{if(n.from>e)break;if(h.isInBreak(n,t)){s+=n.to-t;break}}return s}constructor(t){this.axis=t}findBreakAt(t,e){return ft(e,(function(e){return e.from<t&&t<e.to}))}isInAnyBreak(t,e){let i,s,n,r=this.axis,o=r.options.breaks||[],a=o.length;if(a&&bt(t)){for(;a--;)h.isInBreak(o[a],t)&&(i=!0,s||(s=Mt(o[a].showPoints,!r.isXAxis)));n=i&&e?i&&!s:i}return n}setBreaks(t,e){let i=this,s=i.axis,n=s.chart.time,r=xt(t)&&!!Object.keys(t?.[0]||{}).length;s.isDirty=(i.hasBreaks??!1)!==r,i.hasBreaks=r,t?.forEach((t=>{t.from=n.parse(t.from)||0,t.to=n.parse(t.to)||0})),t!==s.options.breaks&&(s.options.breaks=s.userOptions.breaks=t),s.forceRedraw=!0,s.series.forEach((function(t){t.isDirty=!0})),r||s.val2lin!==h.val2Lin||(delete s.val2lin,delete s.lin2val),r&&(s.userOptions.ordinal=!1,s.lin2val=h.lin2Val,s.val2lin=h.val2Lin,s.setExtremes=function(t,e,n,r,o){if(i.hasBreaks&&!s.treeGrid?.tree){let s,n=this.brokenAxis.breakArray||[];for(;s=i.findBreakAt(t,n);)t=s.to;for(;s=i.findBreakAt(e,n);)e=s.from;e<t&&(e=t)}s.constructor.prototype.setExtremes.call(this,t,e,n,r,o)},s.setAxisTranslation=function(){if(s.constructor.prototype.setAxisTranslation.call(this),i.unitLength=void 0,i.hasBreaks){let t,e,n,r,o=s.options.breaks||[],a=[],l=[],c=s.pointRangePadding??0,d=0,u=s.userMin??s.min,p=s.userMax??s.max,f=bt(u)?Math.min(s.dataMin??u,u):s.dataMin??u,g=bt(p)?Math.max(s.dataMax??p,p):s.dataMax??p;s.treeGrid?.tree||o.forEach((function(t){e=t.repeat||1/0,bt(u)&&bt(p)&&(h.isInBreak(t,u)&&(u+=t.to%e-u%e),h.isInBreak(t,p)&&(p-=p%e-t.from%e))})),bt(f)&&bt(g)&&o.forEach((function(t){for(n=t.from,e=t.repeat||1/0;n-e>f;)n-=e;for(;n<f;)n+=e;for(r=n;r<g;r+=e)a.push({value:r,move:"in"}),a.push({value:r+t.to-t.from,move:"out",size:t.breakSize})})),a.sort((function(t,e){return t.value===e.value?("in"!==t.move)-("in"!==e.move):t.value-e.value})),t=0,n=f,a.forEach((e=>{1===(t+="in"===e.move?1:-1)&&"in"===e.move&&(n=e.value),0===t&&bt(n)&&(l.push({from:n,to:e.value,len:e.value-n-(e.size||0)}),bt(u)&&bt(p)&&n<p&&e.value>u&&(d+=e.value-n-(e.size||0)))})),i.breakArray=l,bt(u)&&bt(p)&&bt(s.min)&&(i.unitLength=p-u-d+c,lt(s,"afterBreaks"),s.staticScale?s.transA=s.staticScale:i.unitLength&&(s.transA*=(p-s.min+c)/i.unitLength),c&&(s.minPixelPadding=s.transA*(s.minPointOffset||0)),s.min=u,s.max=p)}}),Mt(e,!0)&&s.chart.redraw()}}t.Additions=h}(F||(F={}));let Ho=F;q.BrokenAxis=q.BrokenAxis||Ho,q.BrokenAxis.compose(q.Axis,q.Series);let Wo={};function qo(t){let e=t.length,i=$o(t);return bt(i)&&e&&(i=Z(i/e)),i}function $o(t){let e,i=t.length;if(!i&&t.hasNulls)e=null;else if(i)for(e=0;i--;)e+=t[i];return e}let jo={average:qo,averages:function(){let t=[];return[].forEach.call(arguments,(function(e){t.push(qo(e))})),void 0===t[0]?void 0:t},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},high:function(t){return t.length?Y(t):t.hasNulls?null:void 0},hlc:function(t,e,i){if(t=Wo.high(t),e=Wo.low(e),i=Wo.close(i),bt(t)||bt(e)||bt(i))return[t,e,i]},low:function(t){return t.length?X(t):t.hasNulls?null:void 0},ohlc:function(t,e,i,s){if(t=Wo.open(t),e=Wo.high(e),i=Wo.low(i),s=Wo.close(s),bt(t)||bt(e)||bt(i)||bt(s))return[t,e,i,s]},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},range:function(t,e){return t=Wo.low(t),e=Wo.high(e),bt(t)||bt(e)?[t,e]:null===t&&null===e?null:void 0},sum:$o};ot(Wo,jo);let Go={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%[AebHMSL]","%[AebHMSL]","-%[HMSL]"],second:["%[AebHMS]","%[AebHMS]","-%[HMS]"],minute:["%[AebHM]","%[AebHM]","-%[HM]"],hour:["%[AebHM]","%[AebHM]","-%[HM]"],day:["%[AebY]","%[Aeb]","-%[AebY]"],week:["%v %[AebY]","%[Aeb]","-%[AebY]"],month:["%[BY]","%[B]","-%[BY]"],year:["%[Y]","%[Y]","-%[Y]"]}},Vo={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},Xo=[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];function Yo(t){let e=this,i=e.series;
vendor: 5,043 bytes, line 45
45i.forEach((function(t){t.groupPixelWidth=void 0})),i.forEach((function(i){i.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),i.groupPixelWidth&&(i.hasProcessed=!0),i.applyGrouping(!!t.hasExtremesChanged)}))}function Uo(){let t,e,i=this.series,s=i.length,n=0,r=!1;for(;s--;)(e=i[s].options.dataGrouping)&&(n=Math.max(n,Mt(e.groupPixelWidth,Go.groupPixelWidth)),t=(i[s].dataTable.getModified()||i[s].dataTable).rowCount,(i[s].groupPixelWidth||t>this.chart.plotSizeX/n||t&&e.forced)&&(r=!0));return r?n:0}function Ko(){this.series.forEach((function(t){t.hasProcessed=!1}))}function Zo(t,e){let i;if(e=Mt(e,!0),t||(t={forced:!1,units:null}),this instanceof n)for(i=this.series.length;i--;)this.series[i].update({dataGrouping:t},!1);else this.chart.options.series.forEach((function(e){e.dataGrouping="boolean"==typeof t?t:Et(t,e.dataGrouping)}));this.ordinal&&(this.ordinal.slope=void 0),e&&this.chart.redraw()}let{series:{prototype:Qo}}=ss,Jo=Qo.generatePoints;function ta(t){var e,i,s;let n,r,o,a,l=this.chart,h=this.options.dataGrouping,c=!1!==this.allowDG&&h&&Mt(h.enabled,l.options.isStock),d=this.reserveSpace(),u=this.currentDataGrouping,p=!1;c&&!this.requireSorting&&(this.requireSorting=p=!0);let f=0==(i=t,!((e=this).isCartesian&&!e.isDirty&&!e.xAxis.isDirty&&!e.yAxis.isDirty&&!i))||!c;if(p&&(this.requireSorting=!1),f)return;this.destroyGroupedData();let g=h.groupAll?this.dataTable:this.dataTable.getModified()||this.dataTable,m=this.getColumn("x",!h.groupAll),v=l.plotSizeX,b=this.xAxis,y=b.getExtremes(),x=b.options.ordinal,w=this.groupPixelWidth;if(w&&m&&g.rowCount&&v&&bt(y.min)){r=!0,this.isDirty=!0,this.points=null;let t=y.min,e=y.max,i=w*(e-t)/v*(x&&b.ordinal&&b.ordinal.getGroupIntervalFactor(t,e,this)||1),c=b.getTimeTicks(Ei.Additions.prototype.normalizeTimeTickInterval(i,h.units||Xo),Math.min(t,m[0]),Math.max(e,m[m.length-1]),b.options.startOfWeek,m,this.closestPointRange),u=Qo.groupData.apply(this,[g,c,h.approximation]),p=u.modified,f=p.getColumn("x",!0),S=0;for(h?.smoothed&&p.rowCount&&(h.firstAnchor="firstPoint",h.anchor="middle",h.lastAnchor="lastPoint",Wt(32,!1,l,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),n=1;n<c.length;n++)c.info.segmentStarts&&-1!==c.info.segmentStarts.indexOf(n)||(S=Math.max(c[n]-c[n-1],S));(o=c.info).gapSize=S,this.closestPointRange=c.info.totalRange,this.groupMap=u.groupMap,this.currentDataGrouping=o,function(t,e,i){let s=t.options.dataGrouping,n=t.currentDataGrouping&&t.currentDataGrouping.gapSize,r=t.getColumn("x");if(!(s&&r.length&&n&&t.groupMap))return;let o=e.length-1,a=s.anchor,l=s.firstAnchor,h=s.lastAnchor,c=e.length-1,d=0;if(l&&r[0]>=e[0]){let i;d++;let s=t.groupMap[0].start,o=t.groupMap[0].length;bt(s)&&bt(o)&&(i=s+(o-1)),e[0]={start:e[0],middle:e[0]+.5*n,end:e[0]+n,firstPoint:r[0],lastPoint:i&&r[i]}[l]}if(o>0&&h&&n&&e[o]>=i-n){c--;let i=t.groupMap[t.groupMap.length-1].start;e[o]={start:e[o],middle:e[o]+.5*n,end:e[o]+n,firstPoint:i&&r[i],lastPoint:r[r.length-1]}[h]}if(a&&"start"!==a){let t=n*{middle:.5,end:1}[a];for(;c>=d;)e[c]+=t,c--}}(this,f||[],e),d&&f&&(et((s=f)[0])&&bt(b.min)&&bt(b.dataMin)&&s[0]<b.min&&((!et(b.options.min)&&b.min<=b.dataMin||b.min===b.dataMin)&&(b.min=Math.min(s[0],b.min)),b.dataMin=Math.min(s[0],b.dataMin)),et(s[s.length-1])&&bt(b.max)&&bt(b.dataMax)&&s[s.length-1]>b.max&&((!et(b.options.max)&&bt(b.dataMax)&&b.max>=b.dataMax||b.max===b.dataMax)&&(b.max=Math.max(s[s.length-1],b.max)),b.dataMax=Math.max(s[s.length-1],b.dataMax))),h.groupAll&&(this.allGroupedTable=p,f=(p=(a=this.cropData(p,b.min||0,b.max||0)).modified).getColumn("x"),this.cropStart=a.start),this.dataTable.modified=p}else this.groupMap=void 0,this.currentDataGrouping=void 0;this.hasGroupedData=r,this.preventGraphAnimation=(u&&u.totalRange)!==(o&&o.totalRange)}function ea(){this.groupedData&&(this.groupedData.forEach((function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)}),this),this.groupedData.length=0,delete this.allGroupedTable)}function ia(){Jo.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function sa(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")||this.options.cumulative?"sum":"average"}function na(t,e,i){let s,n,r,o=t===this.dataTable?this.getColumn("x"):t.getColumn("x",!0),a=t.getColumn("y",!0),l=this,h=l.dataTable,c=l.cropStart||0,d=l.data,u=l.options?.data,p=[],f=new Ki,g=[],m=t.rowCount,v=!!a,b=[],y=l.pointArrayMap,x=y&&y.length,w=["x"].concat(y||["y"]),S=(y||["y"]).map((()=>[])),E=this.options.dataGrouping?.groupAll,C=0,A=0,T="function"==typeof i?i:i&&Wo[i]?Wo[i]:Wo[l.getDGApproximation&&l.getDGApproximation()||"average"];if(x){let t=y.length;for(;t--;)b.push([])}else b.push([]);let k=x||1;for(let t=0;t<=m;t++)if(!(o[t]<e[0])){for(;void 0!==e[C+1]&&o[t]>=e[C+1]||t===m;){if(s=e[C],l.dataGroupInfo={start:E?A:l.cropStart+A,length:b[0].length,groupStart:s},r=T.apply(l,b),l.pointClass&&!et(l.dataGroupInfo.options)&&u&&(l.dataGroupInfo.options=Et(l.pointClass.prototype.optionsToObject.call({series:l}
45,h.getRowObject(c+A))),w.forEach((function(t){delete l.dataGroupInfo.options[t]}))),void 0!==r){p.push(s);let t=It(r);for(let e=0;e<t.length;e++)S[e].push(t[e]);g.push(l.dataGroupInfo)}A=t;for(let t=0;t<k;t++)b[t].length=0,b[t].hasNulls=!1;if(C+=1,t===m)break}if(t===m)break;if(y){let e,i=E?t:l.cropStart+t,s=d&&d[i]||l.pointClass.prototype.applyOptions.apply({series:l},[h.getRowObject(i)]);for(let t=0;t<x;t++)bt(e=s[y[t]])?b[t].push(e):null===e&&(b[t].hasNulls=!0)}else bt(n=v?a[t]:null)?b[0].push(n):null===n&&(b[0].hasNulls=!0)}let M={x:p};return(y||["y"]).forEach(((t,e)=>{M[t]=S[e]})),f.setColumns(M),{groupMap:g,modified:f}}function ra(t){let e=t.options,i=this.type,s=this.chart.options.plotOptions,n=this.useCommonDataGrouping&&Go,r=Qt.defaultOptions.plotOptions[i].dataGrouping;if(s&&(Vo[i]||n)){let t=this.chart.rangeSelector;r||(r=Et(Go,Vo[i])),e.dataGrouping=Et(n,r,s.series&&s.series.dataGrouping,s[i].dataGrouping,this.userOptions.dataGrouping,!e.isInternal&&t&&bt(t.selected)&&t.buttonOptions[t.selected].dataGrouping)}}let{format:oa}=Se,{composed:aa}=q;function la(t){let e,i,s,n,r,o=this.chart,a=o.time,l=t.point,h=l.series,c=h.options,d=h.tooltipOptions,u=c.dataGrouping,p=h.xAxis,f=d.xDateFormat||"",g=d[t.isFooter?"footerFormat":"headerFormat"];if(p&&"datetime"===p.options.type&&u&&bt(l.key)){i=h.currentDataGrouping,s=u.dateTimeLabelFormats||Go.dateTimeLabelFormats,i?(n=s[i.unitName],1===i.count?f=n[0]:(f=n[1],e=n[2])):!f&&s&&p.dateTime&&(f=p.dateTime.getXDateFormat(l.x,d.dateTimeLabelFormats));let c=Mt(h.groupMap?.[l.index].groupStart,l.key),m=c+(i?.totalRange||0)-1;r=a.dateFormat(f,c),e&&(r+=a.dateFormat(e,m)),h.chart.styledMode&&(g=this.styledModeFormat(g)),t.text=oa(g,{point:ot(l,{key:r}),series:h},o),t.preventDefault()}}q.dataGrouping=q.dataGrouping||{},q.dataGrouping.approximationDefaults=q.dataGrouping.approximationDefaults||jo,q.dataGrouping.approximations=q.dataGrouping.approximations||Wo,function(t,e,i){(function(t){n=t;let e=t.prototype;e.applyGrouping||(V(t,"afterSetScale",Ko),V(t,"postProcessData",Yo),ot(e,{applyGrouping:Yo,getGroupPixelWidth:Uo,setDataGrouping:Zo}))})(t),function(t){let e=t.prototype;e.applyGrouping||(V(t.prototype.pointClass,"update",(function(){if(this.dataGroup)return Wt(24,!1,this.series.chart),!1})),V(t,"afterSetOptions",ra),V(t,"destroy",ea),ot(e,{applyGrouping:ta,destroyGroupedData:ea,generatePoints:ia,getDGApproximation:sa,groupData:na}))}(e),i&&Lt(aa,"DataGrouping")&&V(i,"headerFormatter",la)}(q.Axis,q.Series,q.Tooltip);let ha={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},{getAssignedAxis:ca}={annotationsFieldsTypes:ha,getAssignedAxis:function(t){return t.filter((t=>{let e=t.axis.getExtremes(),i=e.min,s=e.max,n=Mt(t.axis.minPointOffset,0);return bt(i)&&bt(s)&&t.value>=i-n&&t.value<=s+n&&!t.axis.options.isInternal}))[0]},getFieldType:function(t,e){let i=ha[t],s=typeof e;return et(i)&&(s=i),{string:"text",number:"number",boolean:"checkbox",color:"color"}[s]}},da=[],ua={enabled:!0,sensitivity:1.1,showResetButton:!1},pa=function(t,e,i,s,n,o,a){let l=Mt(a.type,t.zooming.type,""),h=[];"x"===l?h=i:"y"===l?h=s:"xy"===l&&(h=t.axes);let c=t.transform({axes:h,to:{x:n-5,y:o-5,width:10,height:10},from:{x:n-5*e,y:o-5*e,width:10*e,height:10*e},trigger:"mousewheel",allowResetButton:a.showResetButton});return c&&(et(r)&&gt(r),r=setTimeout((()=>{t.pointer?.drop()}),400)),c};function fa(){var t;let e=(St(t=this.zooming.mouseWheel)||(t={enabled:t??!0}),Et(ua,t));e.enabled&&V(this.container,"wheel",(t=>{t=this.pointer?.normalize(t)||t;let{pointer:i}=this,s=i&&!i.inClass(t.target,"highcharts-no-mousewheel");if(this.isInsidePlot(t.chartX-this.plotLeft,t.chartY-this.plotTop)&&s){let s=e.sensitivity||1.1,n=t.detail||(t.deltaY||0)/120,r=ca(i.getCoordinates(t).xAxis),o=ca(i.getCoordinates(t).yAxis);pa(this,Math.pow(s,n),r?[r.axis]:this.xAxis,o?[o.axis]:this.yAxis,t.chartX,t.chartY,e)&&t.preventDefault?.()}}))}q.MouseWheelZoom=q.MouseWheelZoom||{compose:function(t){-1===da.indexOf(t)&&(da.push(t),V(t,"afterGetContainer",fa))}},q.MouseWheelZoom.compose(q.Chart),q.Navigator=q.Navigator||Ir,q.OrdinalAxis=q.OrdinalAxis||Br,q.RangeSelector=q.RangeSelector||Qr,q.Scrollbar=q.Scrollbar||Lr,q.stockChart=ro.stockChart,q.StockChart=q.StockChart||q.stockChart,ot(q.StockChart,ro),ir.compose(q.Series,q.Axis,q.Point),uo.compose(q.Series,q.SVGRenderer),Fo.compose(q.Renderer),yo.compose(q.Series),q.Navigator.compose(q.Chart,q.Axis,q.Series),q.OrdinalAxis.compose(q.Axis,q.Series,q.Chart),q.RangeSelector.compose(q.Axis,q.Chart),q.Scrollbar.compose(q.Axis),q.StockChart.compose(q.Chart,q.Axis,q.Series,q.SVGRenderer),q.product="Highstock";let ga=q;return W.default})(),e._Highcharts=i(),t.exports=e._Highcharts},980(t,e,i){var s=i(3101).A;t.exports=function(t){"use strict";function e(t){return e="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},e(t)}function n(){return n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t},n.apply(this,arguments)}function r(t,e){return l(t)||c(t,e)||u()}function o(t){return a(t)||h(t)||d()}function a(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}function l(t){if(Array.isArray(t))return t}function h(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var i=[],s=!0,n=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(s=(o=a.next()).done)&&(i.push(o.value),!e||i.length!==e);s=!0);}catch(t){n=!0,r=t}finally{try{s||null==a.return||a.return()}finally{if(n)throw r}}return i}}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance")}
45function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var p=1,f={},g={attr:function(t,e,i){var s,n,r,o=new RegExp("^"+e,"i");if(void 0===i)i={};else for(s in i)i.hasOwnProperty(s)&&delete i[s];if(!t)return i;for(s=(r=t.attributes).length;s--;)(n=r[s])&&n.specified&&o.test(n.name)&&(i[this.camelize(n.name.slice(e.length))]=this.deserializeValue(n.value));return i},checkAttr:function(t,e,i){return t.hasAttribute(e+i)},setAttr:function(t,e,i,s){t.setAttribute(this.dasherize(e+i),String(s))},getType:function(t){return t.getAttribute("type")||"text"},generateID:function(){return""+p++},deserializeValue:function(t){var e;try{return t?"true"==t||"false"!=t&&("null"==t?null:isNaN(e=Number(t))?/^[\[\{]/.test(t)?JSON.parse(t):t:e):t}catch(e){return t}},camelize:function(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))},dasherize:function(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var t;window.console&&"function"==typeof window.console.warn&&(t=window.console).warn.apply(t,arguments)},warnOnce:function(t){f[t]||(f[t]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){f={}},trimString:function(t){return t.replace(/^\s+|\s+$/g,"")},parse:{date:function(t){var e=t.match(/^(\d{4,})-(\d\d)-(\d\d)$/);if(!e)return null;var i=r(e.map((function(t){return parseInt(t,10)})),4),s=(i[0],i[1]),n=i[2],o=i[3],a=new Date(s,n-1,o);return a.getFullYear()!==s||a.getMonth()+1!==n||a.getDate()!==o?null:a},string:function(t){return t},integer:function(t){return isNaN(t)?null:parseInt(t,10)},number:function(t){if(isNaN(t))throw null;return parseFloat(t)},boolean:function(t){return!/^\s*false\s*$/i.test(t)},object:function(t){return g.deserializeValue(t)},regexp:function(t){var e="";return/^\/.*\/(?:[gimy]*)$/.test(t)?(e=t.replace(/.*\/([gimy]*)$/,"$1"),t=t.replace(new RegExp("^/(.*?)/"+e+"$"),"$1")):t="^"+t+"$",new RegExp(t,e)}},parseRequirement:function(t,e){var i=this.parse[t||"string"];if(!i)throw'Unknown requirement specification: "'+t+'"';var s=i(e);if(null===s)throw"Requirement is not a ".concat(t,': "').concat(e,'"');return s},namespaceEvents:function(e,i){return(e=this.trimString(e||"").split(/\s+/))[0]?t.map(e,(function(t){return"".concat(t,".").concat(i)})).join(" "):""},difference:function(e,i){var s=[];return t.each(e,(function(t,e){-1==i.indexOf(e)&&s.push(e)})),s},all:function(e){return t.when.apply(t,o(e).concat([42,42]))},objectCreate:Object.create||function(){var t=function(){};return function(i){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=e(i))throw TypeError("Argument must be an object");t.prototype=i;var s=new t;return t.prototype=null,s}}(),_SubmitSelector:'input[type="submit"], button:submit'},m={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(t){},errorsContainer:function(t){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},v=function(){this.__id__=g.generateID()};v.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){var e=this,i=function(){var i=t.Deferred();return!0!==e.validationResult&&i.reject(),i.resolve().promise()};return[i,i]},actualizeOptions:function(){return g.attr(this.element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(t){for(var e in this.domOptions=g.objectCreate(this.parent.options),this.options=g.objectCreate(this.domOptions),t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.actualizeOptions()},_listeners:null,on:function(t,e){return this._listeners=this._listeners||{},(this._listeners[t]=this._listeners[t]||[]).push(e),this},subscribe:function(e,i){t.listenTo(this,e.toLowerCase(),i)},off:function(t,e){var i=this._listeners&&this._listeners[t];if(i)if(e)for(var s=i.length;s--;)i[s]===e&&i.splice(s,1);else delete this._listeners[t];return this},unsubscribe:function(e,i){t.unsubscribeTo(this,e.toLowerCase())}
45,trigger:function(t,e,i){e=e||this;var s,n=this._listeners&&this._listeners[t];if(n)for(var r=n.length;r--;)if(!1===(s=n[r].call(e,e,i)))return s;return!this.parent||this.parent.trigger(t,e,i)},asyncIsValid:function(t,e){return g.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:t,force:e})},_findRelated:function(){return this.options.multiple?t(this.parent.element.querySelectorAll("[".concat(this.options.namespace,'multiple="').concat(this.options.multiple,'"]'))):this.$element}};var b=function(t,e){var i=t.match(/^\s*\[(.*)\]\s*$/);if(!i)throw'Requirement is not an array: "'+t+'"';var s=i[1].split(",").map(g.trimString);if(s.length!==e)throw"Requirement has "+s.length+" values when "+e+" are needed";return s},y=function(t,e,i){var s=null,n={};for(var r in t)if(r){var o=i(r);"string"==typeof o&&(o=g.parseRequirement(t[r],o)),n[r]=o}else s=g.parseRequirement(t[r],e);return[s,n]},x=function(e){t.extend(!0,this,e)};x.prototype={validate:function(t,e){if(this.fn)return arguments.length>3&&(e=[].slice.call(arguments,1,-1)),this.fn(t,e);if(Array.isArray(t)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}var i=arguments[arguments.length-1];if(this.validateDate&&i._isDateInput())return arguments[0]=g.parse.date(arguments[0]),null!==arguments[0]&&this.validateDate.apply(this,arguments);if(this.validateNumber)return!t||!isNaN(t)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(e,i){if("string"!=typeof e)return Array.isArray(e)?e:[e];var s=this.requirementType;if(Array.isArray(s)){for(var n=b(e,s.length),r=0;r<n.length;r++)n[r]=g.parseRequirement(s[r],n[r]);return n}return t.isPlainObject(s)?y(s,e,i):[g.parseRequirement(s,e)]},requirementType:"string",priority:2};var w=function(t,e){this.__class__="ValidatorRegistry",this.locale="en",this.init(t||{},e||{})},S={email:/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,date:{test:function(t){return null!==g.parse.date(t)}},url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-zA-Z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$")};S.range=S.number;var E=function(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},C=function(t,e){return e.map(g.parse[t])},A=function(t,e){return function(i){for(var s=arguments.length,n=new Array(s>1?s-1:0),r=1;r<s;r++)n[r-1]=arguments[r];return n.pop(),e.apply(void 0,[i].concat(o(C(t,n))))}},T=function(t){return{validateDate:A("date",t),validateNumber:A("number",t),requirementType:t.length<=2?"string":["string","string"],priority:30}};w.prototype={init:function(t,e){for(var i in this.catalog=e,this.validators=n({},this.validators),t)this.addValidator(i,t[i].fn,t[i].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(t){if(void 0===this.catalog[t])throw new Error(t+" is not available in the catalog");return this.locale=t,this},addCatalog:function(t,i,s){return"object"===e(i)&&(this.catalog[t]=i),!0===s?this.setLocale(t):this}
45,addMessage:function(t,e,i){return void 0===this.catalog[t]&&(this.catalog[t]={}),this.catalog[t][e]=i,this},addMessages:function(t,e){for(var i in e)this.addMessage(t,i,e[i]);return this},addValidator:function(t,e,i){if(this.validators[t])g.warn('Validator "'+t+'" is already defined.');else if(m.hasOwnProperty(t))return void g.warn('"'+t+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},hasValidator:function(t){return!!this.validators[t]},updateValidator:function(t,e,i){return this.validators[t]?this._setValidator.apply(this,arguments):(g.warn('Validator "'+t+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(t){return this.validators[t]||g.warn('Validator "'+t+'" is not defined.'),delete this.validators[t],this},_setValidator:function(t,i,s){for(var n in"object"!==e(i)&&(i={fn:i,priority:s}),i.validate||(i=new x(i)),this.validators[t]=i,i.messages||{})this.addMessage(n,t,i.messages[n]);return this},getErrorMessage:function(t){return("type"===t.name?(this.catalog[this.locale][t.name]||{})[t.requirements]:this.formatMessage(this.catalog[this.locale][t.name],t.requirements))||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(t,i){if("object"===e(i)){for(var s in i)t=this.formatMessage(t,i[s]);return t}return"string"==typeof t?t.replace(/%s/i,i):""},validators:{notblank:{validateString:function(t){return/\S/.test(t)},priority:2},required:{validateMultiple:function(t){return t.length>0},validateString:function(t){return/\S/.test(t)},priority:512},type:{validateString:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.step,n=void 0===s?"any":s,r=i.base,o=void 0===r?0:r,a=S[e];if(!a)throw new Error("validator type `"+e+"` is not supported");if(!t)return!0;if(!a.test(t))return!1;if("number"===e&&!/^any$/i.test(n||"")){var l=Number(t),h=Math.max(E(n),E(o));if(E(l)>h)return!1;var c=function(t){return Math.round(t*Math.pow(10,h))};if((c(l)-c(o))%c(n)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(t,e){return!t||e.test(t)},requirementType:"regexp",priority:64},minlength:{validateString:function(t,e){return!t||t.length>=e},requirementType:"integer",priority:30},maxlength:{validateString:function(t,e){return t.length<=e},requirementType:"integer",priority:30},length:{validateString:function(t,e,i){return!t||t.length>=e&&t.length<=i},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(t,e){return t.length>=e},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(t,e){return t.length<=e},requirementType:"integer",priority:30},check:{validateMultiple:function(t,e,i){return t.length>=e&&t.length<=i},requirementType:["integer","integer"],priority:30},min:T((function(t,e){return t>=e})),max:T((function(t,e){return t<=e})),range:T((function(t,e,i){return t>=e&&t<=i})),equalto:{validateString:function(e,i){if(!e)return!0;var s=t(i);return s.length?e===s.val():e===i},priority:256},euvatin:{validateString:function(t,e){return!t||/^[A-Z][A-Z][A-Za-z0-9 -]{2,}$/.test(t)},priority:30}}};var k={},M=function t(e,i,s){for(var n=[],r=[],o=0;o<e.length;o++){for(var a=!1,l=0;l<i.length;l++)if(e[o].assert.name===i[l].assert.name){a=!0;break}a?r.push(e[o]):n.push(e[o])}return{kept:r,added:n,removed:s?[]:t(i,e,!0).added}};k.Form={_actualizeTriggers:function(){var t=this;this.$element.on("submit.Parsley",(function(e){t.onSubmitValidate(e)})),this.$element.on("click.Parsley",g._SubmitSelector,(function(e){t.onSubmitButton(e)})),!1!==this.options.uiEnabled&&this.element.setAttribute("novalidate","")},focus:function(){if(this._focusedField=null,!0===this.validationResult||"none"===this.options.focus)return null;for(var t=0;t<this.fields.length;t++){var e=this.fields[t];if(!0!==e.validationResult&&e.validationResult.length>0&&void 0===e.options.noFocus&&(this._focusedField=e.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},k.Field={_reflowUI:function(){if(this._buildUI(),this._ui){var t=M(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(t),this._actualizeTriggers(),!t.kept.length&&!t.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var t=[],e=0;e<this.validationResult.length;e++)t.push(this.validationResult[e].errorMessage||this._getErrorMessage(this.validationResult[e].assert));return t},addError:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.message,s=e.assert,n=e.updateClass,r=void 0===n||n;this._buildUI(),this._addError(t,{message:i,assert:s}),r&&this._errorClass()},updateError:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.message,s=e.assert,n=e.updateClass,r=void 0===n||n;this._buildUI(),this._updateError(t,{message:i,assert:s}),r&&this._errorClass()},removeError:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).updateClass,i=void 0===e||e;this._buildUI(),this._removeError(t),i&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&
vendor: 7,162 bytes, line 45
45!0===this.validationResult?this._successClass():this.validationResult.length>0?this._errorClass():this._resetClass()},_manageErrorsMessages:function(e){if(void 0===this.options.errorsMessagesDisabled){if(void 0!==this.options.errorMessage)return e.added.length||e.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(t(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").find(".parsley-custom-error-message").html(this.options.errorMessage)):(this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-custom-error-message").remove());for(var i=0;i<e.removed.length;i++)this._removeError(e.removed[i].assert.name);for(i=0;i<e.added.length;i++)this._addError(e.added[i].assert.name,{message:e.added[i].errorMessage,assert:e.added[i].assert});for(i=0;i<e.kept.length;i++)this._updateError(e.kept[i].assert.name,{message:e.kept[i].errorMessage,assert:e.kept[i].assert})}},_addError:function(e,i){var s=i.message,n=i.assert;this._insertErrorWrapper(),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").append(t(this.options.errorTemplate).addClass("parsley-"+e).html(s||this._getErrorMessage(n)))},_updateError:function(t,e){var i=e.message,s=e.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+t).html(i||this._getErrorMessage(s))},_removeError:function(t){this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-"+t).remove()},_getErrorMessage:function(t){var e=t.name+"Message";return void 0!==this.options[e]?window.Parsley.formatMessage(this.options[e],t.requirements):window.Parsley.getErrorMessage(t)},_buildUI:function(){if(!this._ui&&!1!==this.options.uiEnabled){var e={};this.element.setAttribute(this.options.namespace+"id",this.__id__),e.$errorClassHandler=this._manageClassHandler(),e.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),e.$errorsWrapper=t(this.options.errorsWrapper).attr("id",e.errorsWrapperId),e.lastValidationResult=[],e.validationInformationVisible=!1,this._ui=e}},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&t(this.options.classHandler).length)return t(this.options.classHandler);var i=this.options.classHandler;if("string"==typeof this.options.classHandler&&"function"==typeof window[this.options.classHandler]&&(i=window[this.options.classHandler]),"function"==typeof i){var n=i.call(this,this);if(void 0!==n&&n.length)return n}else{if("object"===e(i)&&i instanceof s&&i.length)return i;i&&g.warn("The class handler `"+i+"` does not exist in DOM nor as a global JS function")}return this._inputHolder()},_inputHolder:function(){return this.options.multiple&&"SELECT"!==this.element.nodeName?this.$element.parent():this.$element},_insertErrorWrapper:function(){var i=this.options.errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof i){if(t(i).length)return t(i).append(this._ui.$errorsWrapper);"function"==typeof window[i]?i=window[i]:g.warn("The errors container `"+i+"` does not exist in DOM nor as a global JS function")}return"function"==typeof i&&(i=i.call(this,this)),"object"===e(i)&&i.length?i.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var t,e=this,i=this._findRelated();i.off(".Parsley"),this._failedOnce?i.on(g.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),(function(){e._validateIfNeeded()})):(t=g.namespaceEvents(this.options.trigger,"Parsley"))&&i.on(t,(function(t){e._validateIfNeeded(t)}))},_validateIfNeeded:function(t){var e=this;t&&/key|input/.test(t.type)&&(!this._ui||!this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout((function(){return e.validate()}),this.options.debounce)):this.validate())},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),void 0!==this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),void 0!==this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};var O=function(e,i,s){this.__class__="Form",this.element=e,this.$element=t(e),this.domOptions=i,this.options=s,this.parent=window.Parsley,this.fields=[],this.validationResult=null},L={pending:null,resolved:!0,rejected:!1};O.prototype={onSubmitValidate:function(t){var e=this;if(!0!==t.parsley){var i=this._submitSource||this.$element.find(g._SubmitSelector)[0];if(this._submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!i||null===i.getAttribute("formnovalidate")){window.Parsley._remoteCache={};var s=this.whenValidate({event:t});"resolved"===s.state()&&!1!==this._trigger("submit")||(t.stopImmediatePropagation(),t.preventDefault(),"pending"===s.state()&&s.done((function(){e._submit(i)})))}}},onSubmitButton:function(t){this._submitSource=t.currentTarget},_submit:function(e){if(!1!==this._trigger("submit")){if(e){var i=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===i.length&&(i=t('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element)),i.attr({name:e.getAttribute("name"),value:e.getAttribute("value")})}this.$element.trigger(n(t.Event("submit"),{parsley:!0}))}},validate:function(e){if(arguments.length>=1&&!t.isPlainObject(e)){g.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments);e={group:i[0],force:i[1],event:i[2]}}return L[this.whenValidate(e).state()]},whenValidate:function(){var e,i=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=s.group,a=s.force,l=s.event;this.submitEvent=l,l&&(this.submitEvent=n({},l,{preventDefault:function(){g.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),i.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var h=this._withoutReactualizingFormOptions((function(){return t.map(i.fields,
45(function(t){return t.whenValidate({force:a,group:r})}))}));return(e=g.all(h).done((function(){i._trigger("success")})).fail((function(){i.validationResult=!1,i.focus(),i._trigger("error")})).always((function(){i._trigger("validated")}))).pipe.apply(e,o(this._pipeAccordingToValidationResult()))},isValid:function(e){if(arguments.length>=1&&!t.isPlainObject(e)){g.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments);e={group:i[0],force:i[1]}}return L[this.whenValid(e).state()]},whenValid:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.group,n=i.force;this._refreshFields();var r=this._withoutReactualizingFormOptions((function(){return t.map(e.fields,(function(t){return t.whenValid({group:s,force:n})}))}));return g.all(r)},refresh:function(){return this._refreshFields(),this},reset:function(){for(var t=0;t<this.fields.length;t++)this.fields[t].reset();this._trigger("reset")},destroy:function(){this._destroyUI();for(var t=0;t<this.fields.length;t++)this.fields[t].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var e=this,i=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions((function(){e.$element.find(e.options.inputs).not(e.options.excluded).not("[".concat(e.options.namespace,"excluded=true]")).each((function(t,i){var s=new window.Parsley.Factory(i,{},e);if("Field"===s.__class__||"FieldMultiple"===s.__class__){var n=s.__class__+"-"+s.__id__;void 0===e.fieldsMappedById[n]&&(e.fieldsMappedById[n]=s,e.fields.push(s))}})),t.each(g.difference(i,e.fields),(function(t,e){e.reset()}))})),this},_withoutReactualizingFormOptions:function(t){var e=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=t();return this.actualizeOptions=e,i},_trigger:function(t){return this.trigger("form:"+t)}};var _=function(t,e,i,s,r){var o=window.Parsley._validatorRegistry.validators[e],a=new x(o);n(this,{validator:a,name:e,requirements:i,priority:s=s||t.options[e+"Priority"]||a.priority,isDomConstraint:r=!0===r}),this._parseRequirements(t.options)},P=function(t){return t[0].toUpperCase()+t.slice(1)};_.prototype={validate:function(t,e){var i;return(i=this.validator).validate.apply(i,[t].concat(o(this.requirementList),[e]))},_parseRequirements:function(t){var e=this;this.requirementList=this.validator.parseRequirements(this.requirements,(function(i){return t[e.name+P(i)]}))}};var D=function(e,i,s,n){this.__class__="Field",this.element=e,this.$element=t(e),void 0!==n&&(this.parent=n),this.options=s,this.domOptions=i,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()},I={pending:null,resolved:!0,rejected:!1};D.prototype={validate:function(e){arguments.length>=1&&!t.isPlainObject(e)&&(g.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),e={options:e});var i=this.whenValidate(e);if(!i)return!0;switch(i.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(){var t,e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.force,n=i.group;if(this.refresh(),!n||this._isInGroup(n))return this.value=this.getValue(),this._trigger("validate"),(t=this.whenValid({force:s,value:this.value,_refreshed:!0}).always((function(){e._reflowUI()})).done((function(){e._trigger("success")})).fail((function(){e._trigger("error")})).always((function(){e._trigger("validated")}))).pipe.apply(t,o(this._pipeAccordingToValidationResult()))},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(t){return void 0===t&&(t=this.getValue()),!(!t.length&&!this._isRequired()&&void 0===this.options.validateIfEmpty)},_isInGroup:function(e){return Array.isArray(this.options.group)?-1!==t.inArray(e,this.options.group):this.options.group===e},isValid:function(e){if(arguments.length>=1&&!t.isPlainObject(e)){g.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments);e={force:i[0],value:i[1]}}var s=this.whenValid(e);return!s||I[s.state()]},whenValid:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.force,n=void 0!==s&&s,r=i.value,o=i.group;if(i._refreshed||this.refresh(),!o||this._isInGroup(o)){if(this.validationResult=!0,!this.hasConstraints())return t.when();if(null==r&&(r=this.getValue()),!this.needsValidation(r)&&!0!==n)return t.when();var a=this._getGroupedConstraints(),l=[];return t.each(a,(function(i,s){var n=g.all(t.map(s,(function(t){return e._validateConstraint(r,t)})));if(l.push(n),"rejected"===n.state())return!1})),g.all(l)}},_validateConstraint:function(e,i){var s=this,n=i.validate(e,this);return!1===n&&(n=t.Deferred().reject()),g.all([n]).fail((function(t){s.validationResult instanceof Array||(s.validationResult=[]),s.validationResult.push({assert:i,errorMessage:"string"==typeof t&&t})}))},getValue:function(){var t;return null==(t="function"==typeof this.options.value?this.options.value(this):void 0!==this.options.value?this.options.value:this.$element.val())?"":this._handleWhitespace(t)},reset:function(){return this._resetUI(),this._trigger("reset")},destroy:function(){this._destroyUI(),this.$element.removeData("Parsley"),this.$element.removeData("FieldMultiple"),this._trigger("destroy")},refresh:function(){return this._refreshConstraints(),this},_refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()}
vendor: 7,959 bytes, line 45
45,refreshConstraints:function(){return g.warnOnce("Parsley's refreshConstraints is deprecated. Please use refresh"),this.refresh()},addConstraint:function(t,e,i,s){if(window.Parsley._validatorRegistry.validators[t]){var n=new _(this,t,e,i,s);"undefined"!==this.constraintsByName[n.name]&&this.removeConstraint(n.name),this.constraints.push(n),this.constraintsByName[n.name]=n}return this},removeConstraint:function(t){for(var e=0;e<this.constraints.length;e++)if(t===this.constraints[e].name){this.constraints.splice(e,1);break}return delete this.constraintsByName[t],this},updateConstraint:function(t,e,i){return this.removeConstraint(t).addConstraint(t,e,i)},_bindConstraints:function(){for(var t=[],e={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(t.push(this.constraints[i]),e[this.constraints[i].name]=this.constraints[i]);for(var s in this.constraints=t,this.constraintsByName=e,this.options)this.addConstraint(s,this.options[s],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){null!==this.element.getAttribute("required")&&this.addConstraint("required",!0,void 0,!0),null!==this.element.getAttribute("pattern")&&this.addConstraint("pattern",this.element.getAttribute("pattern"),void 0,!0);var t=this.element.getAttribute("min"),e=this.element.getAttribute("max");null!==t&&null!==e?this.addConstraint("range",[t,e],void 0,!0):null!==t?this.addConstraint("min",t,void 0,!0):null!==e&&this.addConstraint("max",e,void 0,!0),null!==this.element.getAttribute("minlength")&&null!==this.element.getAttribute("maxlength")?this.addConstraint("length",[this.element.getAttribute("minlength"),this.element.getAttribute("maxlength")],void 0,!0):null!==this.element.getAttribute("minlength")?this.addConstraint("minlength",this.element.getAttribute("minlength"),void 0,!0):null!==this.element.getAttribute("maxlength")&&this.addConstraint("maxlength",this.element.getAttribute("maxlength"),void 0,!0);var i=g.getType(this.element);return"number"===i?this.addConstraint("type",["number",{step:this.element.getAttribute("step")||"1",base:t||this.element.getAttribute("value")}],void 0,!0):/^(email|url|range|date)$/i.test(i)?this.addConstraint("type",i,void 0,!0):this},_isRequired:function(){return void 0!==this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(t){return this.trigger("field:"+t)},_handleWhitespace:function(t){return!0===this.options.trimValue&&g.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(t=t.replace(/\s{2,}/g," ")),"trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue||(t=g.trimString(t)),t},_isDateInput:function(){var t=this.constraintsByName.type;return t&&"date"===t.requirements},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var t=[],e={},i=0;i<this.constraints.length;i++){var s=this.constraints[i].priority;e[s]||t.push(e[s]=[]),e[s].push(this.constraints[i])}return t.sort((function(t,e){return e[0].priority-t[0].priority})),t}};var B=function(){this.__class__="FieldMultiple"};B.prototype={addElement:function(t){return this.$elements.push(t),this},_refreshConstraints:function(){var e;if(this.constraints=[],"SELECT"===this.element.nodeName)return this.actualizeOptions()._bindConstraints(),this;for(var i=0;i<this.$elements.length;i++)if(t("html").has(this.$elements[i]).length){e=this.$elements[i].data("FieldMultiple")._refreshConstraints().constraints;for(var s=0;s<e.length;s++)this.addConstraint(e[s].name,e[s].requirements,e[s].priority,e[s].isDomConstraint)}else this.$elements.splice(i,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if(void 0!==this.options.value)return this.options.value;if("INPUT"===this.element.nodeName){var e=g.getType(this.element);if("radio"===e)return this._findRelated().filter(":checked").val()||"";if("checkbox"===e){var i=[];return this._findRelated().filter(":checked").each((function(){i.push(t(this).val())})),i}}return"SELECT"===this.element.nodeName&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var N=function(i,s,r){this.element=i,this.$element=t(i);var o=this.$element.data("Parsley");if(o)return void 0!==r&&o.parent===window.Parsley&&(o.parent=r,o._resetOptions(o.options)),"object"===e(s)&&n(o.options,s),o;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==r&&"Form"!==r.__class__)throw new Error("Parent instance must be a Form instance");return this.parent=r||window.Parsley,this.init(s)};N.prototype={init:function(t){return this.__class__="Parsley",this.__version__="2.9.2",this.__id__=g.generateID(),this._resetOptions(t),"FORM"===this.element.nodeName||g.checkAttr(this.element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){var t=g.getType(this.element);return"radio"===t||"checkbox"===t||"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple")},handleMultiple:function(){var e,i,s=this;if(this.options.multiple=this.options.multiple||(e=this.element.getAttribute("name"))||this.element.getAttribute("id"),"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return g.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),e&&t('input[name="'+e+'"]').each((function(t,e){var i=g.getType(e);"radio"!==i&&"checkbox"!==i||e.setAttribute(s.options.namespace+"multiple",s.options.multiple)}));for(var n=this._findRelated(),r=0;r<n.length;r++)if(void 0!==(i=t(n.get(r)).data("Parsley"))){this.$element.data("FieldMultiple")||i.addElement(this.$element);break}return this.bind("parsleyField",!0),i||this.bind("parsleyFieldMultiple")},bind:function(e,i){var s;switch(e){case"parsleyForm":s=t.extend(new O(this.element,this.domOptions,this.options),new v,window.ParsleyExtend)._bindFields();break;case"parsleyField":s=t.extend(new D(this.element,this.domOptions,this.options,this.parent),new v,window.ParsleyExtend);break;case"parsleyFieldMultiple":s=t.extend(new D(this.element,this.domOptions,this.options,this.parent),new B,new v,window.ParsleyExtend)._init();break;default:throw new Error(e+"is not a supported Parsley type")}return this.options.multiple&&g.setAttr(this.element,this.options.namespace,"multiple",this.options.multiple),void 0!==i?(this.$element.data("FieldMultiple",s),s):(this.$element.data("Parsley",s),s._actualizeTriggers(),s._trigger("init"),s)}};var z=t.fn.jquery.split(".");if(parseInt(z[0])<=1&&parseInt(z[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";z.forEach||g.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var R=n(new v,{element:document,$element:t(document),actualizeOptions:null,_resetOptions:null,Factory:N,version:"2.9.2"});n(D.prototype,k.Field,v.prototype),n(O.prototype,k.Form,v.prototype),n(N.prototype,v.prototype),t.fn.parsley=t.fn.psly=function(e){if(this.length>1){var i=[];return this.each((function(){i.push(t(this).parsley(e))})),i}if(0!=this.length)return new N(this[0],e)},void 0===window.ParsleyExtend&&(window.ParsleyExtend={}),R.options=n(g.objectCreate(m),window.ParsleyConfig),window.ParsleyConfig=R.options,window.Parsley=window.psly=R,R.Utils=g,window.ParsleyUtils={},t.each(g,(function(t,e){"function"==typeof e&&(window.ParsleyUtils[t]=function(){return g.w
45arnOnce("Accessing `window.ParsleyUtils` is deprecated. Use `window.Parsley.Utils` instead."),g[t].apply(g,arguments)})}));var F=window.Parsley._validatorRegistry=new w(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},t.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator hasValidator".split(" "),(function(t,e){window.Parsley[e]=function(){return F[e].apply(F,arguments)},window.ParsleyValidator[e]=function(){var t;return g.warnOnce("Accessing the method '".concat(e,"' through Validator is deprecated. Simply call 'window.Parsley.").concat(e,"(...)'")),(t=window.Parsley)[e].apply(t,arguments)}})),window.Parsley.UI=k,window.ParsleyUI={removeError:function(t,e,i){var s=!0!==i;return g.warnOnce("Accessing UI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),t.removeError(e,{updateClass:s})},getErrorsMessages:function(t){return g.warnOnce("Accessing UI is deprecated. Call 'getErrorsMessages' on the instance directly."),t.getErrorsMessages()}},t.each("addError updateError".split(" "),(function(t,e){window.ParsleyUI[e]=function(t,i,s,n,r){var o=!0!==r;return g.warnOnce("Accessing UI is deprecated. Call '".concat(e,"' on the instance directly. Please comment in issue 1073 as to your need to call this method.")),t[e](i,{message:s,assert:n,updateClass:o})}})),!1!==window.ParsleyConfig.autoBind&&t((function(){t("[data-parsley-validate]").length&&t("[data-parsley-validate]").parsley()}));var H=t({}),W=function(){g.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")};function q(t,e){return t.parsleyAdaptedCallback||(t.parsleyAdaptedCallback=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift(this),t.apply(e||H,i)}),t.parsleyAdaptedCallback}var $="parsley:";function j(t){return 0===t.lastIndexOf($,0)?t.substr($.length):t}function G(){var e=this,s=window||i.g;n(this,{isNativeEvent:function(t){return t.originalEvent&&!1!==t.originalEvent.isTrusted},fakeInputEvent:function(i){e.isNativeEvent(i)&&t(i.target).trigger("input")},misbehaves:function(i){e.isNativeEvent(i)&&(e.behavesOk(i),t(document).on("change.inputevent",i.data.selector,e.fakeInputEvent),e.fakeInputEvent(i))},behavesOk:function(i){e.isNativeEvent(i)&&t(document).off("input.inputevent",i.data.selector,e.behavesOk).off("change.inputevent",i.data.selector,e.misbehaves)},install:function(){if(!s.inputEventPatched){s.inputEventPatched="0.0.3";for(var i=0,n=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'];i<n.length;i++){var r=n[i];t(document).on("input.inputevent",r,{selector:r},e.behavesOk).on("change.inputevent",r,{selector:r},e.misbehaves)}}},uninstall:function(){delete s.inputEventPatched,t(document).off(".inputevent")}})}return t.listen=function(t,i){var s;if(W(),"object"===e(arguments[1])&&"function"==typeof arguments[2]&&(s=arguments[1],i=arguments[2]),"function"!=typeof i)throw new Error("Wrong parameters");window.Parsley.on(j(t),q(i,s))},t.listenTo=function(t,e,i){if(W(),!(t instanceof D||t instanceof O))throw new Error("Mu
45st give Parsley instance");if("string"!=typeof e||"function"!=typeof i)throw new Error("Wrong parameters");t.on(j(e),q(i))},t.unsubscribe=function(t,e){if(W(),"string"!=typeof t||"function"!=typeof e)throw new Error("Wrong arguments");window.Parsley.off(j(t),e.parsleyAdaptedCallback)},t.unsubscribeTo=function(t,e){if(W(),!(t instanceof D||t instanceof O))throw new Error("Must give Parsley instance");t.off(j(e))},t.unsubscribeAll=function(e){W(),window.Parsley.off(j(e)),t("form,input,textarea,select").each((function(){var i=t(this).data("Parsley");i&&i.off(j(e))}))},t.emit=function(t,e){var i;W();var s=e instanceof D||e instanceof O,n=Array.prototype.slice.call(arguments,s?2:1);n.unshift(j(t)),s||(e=window.Parsley),(i=e).trigger.apply(i,o(n))},t.extend(!0,R,{asyncValidators:{default:{fn:function(t){return t.status>=200&&t.status<300},url:!1},reverse:{fn:function(t){return t.status<200||t.status>=300},url:!1}},addAsyncValidator:function(t,e,i,s){return R.asyncValidators[t]={fn:e,url:i||!1,options:s||{}},this}}),R.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(e,i,s,n){var r,o,a={},l=s.validator||(!0===s.reverse?"reverse":"default");if(void 0===R.asyncValidators[l])throw new Error("Calling an undefined async validator: `"+l+"`");(i=R.asyncValidators[l].url||i).indexOf("{value}")>-1?i=i.replace("{value}",encodeURIComponent(e)):a[n.element.getAttribute("name")||n.element.getAttribute("id")]=e;var h=t.extend(!0,s.options||{},R.asyncValidators[l].options);r=t.extend(!0,{},{url:i,data:a,type:"GET"},h),n.trigger("field:ajaxoptions",n,r),o=t.param(r),void 0===R._remoteCache&&(R._remoteCache={});var c=R._remoteCache[o]=R._remoteCache[o]||t.ajax(r),d=function(){var e=R.asyncValidators[l].fn.call(n,c,i,s);return e||(e=t.Deferred().reject()),t.when(e)};return c.then(d,d)},priority:-1}),R.on("form:submit",(function(){R._remoteCache={}}
45)),v.prototype.addAsyncValidator=function(){return g.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),R.addAsyncValidator.apply(R,arguments)},R.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same.",euvatin:"It's not a valid VAT Identification Number."}),R.setLocale("en"),(new G).install(),R}(i(1411))},6e3(){"use strict";Parsley.addMessages("xx",{defaultMessage:Drupal.t("This value seems to be invalid.",{},{context:"Form validation"}),type:{email:Drupal.t("This value should be a valid email.",{},{context:"Form validation"}),url:Drupal.t("This value should be a valid url.",{},{context:"Form validation"}),number:Drupal.t("This value should be a valid number.",{},{context:"Form validation"}),integer:Drupal.t("This value should be a valid integer.",{},{context:"Form validation"}),digits:Drupal.t("This value should be digits.",{},{context:"Form validation"}),alphanum:Drupal.t("This value should be alphanumeric.",{},{context:"Form validation"})},notblank:Drupal.t("This value should not be blank.",{},{context:"Form validation"}),required:Drupal.t("This value is required.",{},{context:"Form validation"}),pattern:Drupal.t("This value seems to be invalid.",{},{context:"Form validation"}),min:Drupal.t("This value should be greater than or equal to %s.",{},{context:"Form validation"}),max:Drupal.t("This value should be lower than or equal to %s.",{},{context:"Form validation"}),range:Drupal.t("This value should be between %s and %s.",{},{context:"Form validation"}),minlength:Drupal.t("This value is too short. It should have %s characters or more.",{},{context:"Form validation"}),maxlength:Drupal.t("This value is too long. It should have %s characters or fewer.",{},{context:"Form validation"}),length:Drupal.t("This value length is invalid. It should be between %s and %s characters long.",{},{context:"Form validation"}),mincheck:Drupal.t("You must select at least %s choices.",{},{context:"Form validation"}),maxcheck:Drupal.t("You must select %s choices or fewer.",{},{context:"Form validation"}),check:Drupal.t("You must select between %s and %s choices.",{},{context:"Form validation"}),equalto:Drupal.t("This value should be the same.",{},{context:"Form validation"}),euvatin:Drupal.t("It's not a valid VAT Identification Number.",{},{context:"Form validation"}),dateiso:Drupal.t("This value should be a valid date (YYYY-MM-DD).",{},{context:"Form validation"}),date:Drupal.t("It must be a valid date with format %s",{},{context:"Form validation"}),datebeforenow:Drupal.t("Date must be valid with format %s and be before now",{},{context:"Form validation"}),dateafternow:Drupal.t("Date must be valid with format %s and be after now",{},{context:"Form validation"}),minwords:Drupal.t("This value is too short. It should have %s words or more.",{},{context:"Form validation"}),maxwords:Drupal.t("This value is too long. It should have %s words or fewer.",{},{context:"Form validation"}),words:Drupal.t("This value length is invalid. It should be between %s and %s words long.",{},{context:"Form validation"}),gt:Drupal.t("This value should be greater than %s.",{},{context:"Form validation"}),gte:Drupal.t("This value should be greater or equal to %s.",{},{context:"Form validation"}),lt:Drupal.t("This value should be less than %s.",{},{context:"Form validation"}),lte:Drupal.t("This value should be less or equal to %s.",{},{context:"Form validation"}),notequalto:Drupal.t("This value should be different from %s.",{},{context:"Form validation"})}),Parsley.setLocale("xx")}
vendor: 4,249 bytes, line 45
45,1411(t,e,i){"use strict";const{jQuery:s}=i(3101);t.exports=s},3101(t,e,i){"use strict";i.d(e,{jQuery:()=>s});var s=function(t,e){if(void 0===t||!t.document)throw new Error("jQuery requires a window with a document");var i=[],s=Object.getPrototypeOf,n=i.slice,r=i.flat?function(t){return i.flat.call(t)}:function(t){return i.concat.apply([],t)},o=i.push,a=i.indexOf,l={},h=l.toString,c=l.hasOwnProperty,d=c.toString,u=d.call(Object),p={};function f(t){return null==t?t+"":"object"==typeof t?l[h.call(t)]||"object":typeof t}function g(t){return null!=t&&t===t.window}function m(t){var e=!!t&&t.length,i=f(t);return"function"!=typeof t&&!g(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}var v=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,i){var s,n=(i=i||v).createElement("script");for(s in n.text=t,b)e&&e[s]&&(n[s]=e[s]);i.head.appendChild(n).parentNode&&n.parentNode.removeChild(n)}var x="4.0.0",w=/HTML$/i,S=function(t,e){return new S.fn.init(t,e)};function E(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}S.fn=S.prototype={jquery:x,constructor:S,length:0,toArray:function(){return n.call(this)},get:function(t){return null==t?n.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=S.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return S.each(this,t)},map:function(t){return this.pushStack(S.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(n.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()}},S.extend=S.fn.extend=function(){var t,e,i,s,n,r,o=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof o&&(h=o,o=arguments[a]||{},a++),"object"!=typeof o&&"function"!=typeof o&&(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)s=t[e],"__proto__"!==e&&o!==s&&(h&&s&&(S.isPlainObject(s)||(n=Array.isArray(s)))?(i=o[e],r=n&&!Array.isArray(i)?[]:n||S.isPlainObject(i)?i:{},n=!1,o[e]=S.extend(h,r,s)):void 0!==s&&(o[e]=s));return o},S.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==h.call(t))&&(!(e=s(t))||"function"==typeof(i=c.call(e,"constructor")&&e.constructor)&&d.call(i)===u)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){y(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,s=0;if(m(t))for(i=t.length;s<i&&!1!==e.call(t[s],s,t[s]);s++);else for(s in t)if(!1===e.call(t[s],s,t[s]))break;return t},text:function(t){var e,i="",s=0,n=t.nodeType;if(!n)for(;e=t[s++];)i+=S.text(e);return 1===n||11===n?t.textContent:9===n?t.documentElement.textContent:3===n||4===n?t.nodeValue:i},makeArray:function(t,e){var i=e||[];return null!=t&&(m(Object(t))?S.merge(i,"string"==typeof t?[t]:t):o.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:a.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!w.test(e||i&&i.nodeName||"HTML")},contains:function(t,e){var i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(t.contains?t.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))},merge:function(t,e){for(var i=+e.length,s=0,n=t.length;s<i;s++)t[n++]=e[s];return t.length=n,t},grep:function(t,e,i){for(var s=[],n=0,r=t.length,o=!i;n<r;n++)!e(t[n],n)!==o&&s.push(t[n]);return s},map:function(t,e,i){var s,n,o=0,a=[];if(m(t))for(s=t.length;o<s;o++)null!=(n=e(t[o],o,i))&&a.push(n);else for(o in t)null!=(n=e(t[o],o,i))&&a.push(n);return r(a)},guid:1,support:p}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=i[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){l["[object "+e+"]"]=e.toLowerCase()}));var C=i.pop,A="[\\x20\\t\\r\\n\\f]",T=v.documentMode,k=T&&new RegExp(":enabled|
45:disabled|\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),M=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),O="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),_=new RegExp(A+"|>"),P=/[+~]/,D=v.documentElement,I=D.matches||D.msMatchesSelector;function B(){var t=[];return function e(i,s){return t.push(i+" ")>S.expr.cacheLength&&delete e[t.shift()],e[i+" "]=s}}function N(t){return t&&void 0!==t.getElementsByTagName&&t}var z="\\[[\\x20\\t\\r\\n\\f]*("+O+")(?:"+A+"*([*^$|!~]?=)"+A+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+A+"*\\]",R=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",F={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i")},H=new RegExp(R),W=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),q=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))};function $(t){return t.replace(W,q)}function j(t){S.error("Syntax error, unrecognized expression: "+t)}var G=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),V=B();function X(t,e){var i,s,n,r,o,a,l,h=V[t+" "];if(h)return e?0:h.slice(0);for(o=t,a=[],l=S.expr.preFilter;o;){for(r in i&&!(s=G.exec(o))||(s&&(o=o.slice(s[0].length)||o),a.push(n=[])),i=!1,(s=L.exec(o))&&(i=s.shift(),n.push({value:i,type:s[0].replace(M," ")}),o=o.slice(i.length)),F)!(s=S.expr.match[r].exec(o))||l[r]&&!(s=l[r](s))||(i=s.shift(),n.push({value:i,type:r,matches:s}),o=o.slice(i.length));if(!i)break}return e?o.length:o?j(t):V(t,a).slice(0)}var Y={ATTR:function(t){return t[1]=$(t[1]),t[3]=$(t[3]||t[4]||t[5]||""),"~="===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]||j(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]&&j(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return F.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&H.test(i)&&(e=X(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}};function U(t){for(var e=0,i=t.length,s="";e<i;e++)s+=t[e].value;return s}function K(t,e,i,s,n,r,o){var a=0,l=t.length,h=null==i;if("object"===f(i))for(a in n=!0,i)K(t,e,a,i[a],!0,r,o);else if(void 0!==s&&(n=!0,"function"!=typeof s&&(o=!0),h&&(o?(e.call(t,s),e=null):(h=e,e=function(t,e,i){return h.call(S(t),i)})),e))for(;a<l;a++)e(t[a],i,o?s:s.call(t[a],a,e(t[a],i)));return n?t:h?e.call(t):l?e(t[0],i):r}var Z=/[^\x20\t\r\n\f]+/g;S.fn.extend({attr:function(t,e){return K(this,S.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){S.removeAttr(this,t)}))}}),S.extend({attr:function(t,e,i){var s,n,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?S.prop(t,e,i):(1===r&&S.isXMLDoc(t)||(n=S.attrHooks[e.toLowerCase()]),void 0!==i?null===i||!1===i&&0!==e.toLowerCase().indexOf("aria-")?void S.removeAttr(t,e):n&&"set"in n&&void 0!==(s=n.set(t,i,e))?s:(t.setAttribute(e,i),i):n&&"get"in n&&null!==(s=n.get(t,e))?s:(s=t.getAttribute(e))??void 0)},attrHooks:{},removeAttr:function(t,e){var i,s=0,n=e&&e.match(Z);if(n&&1===t.nodeType)for(;i=n[s++];)t.removeAttribute(i)}}),T&&(S.attrHooks.type={set:function(t,e){if("radio"===e&&E(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}});var Q=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function J(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}S.escapeSelector=function(t){return(t+"").replace(Q,J)};var tt,et=i.sort,it=i.splice;function st(t,e){if(t===e)return tt=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;
45return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)?t==v||t.ownerDocument==v&&S.contains(v,t)?-1:e==v||e.ownerDocument==v&&S.contains(v,e)?1:0:4&i?-1:1)}S.uniqueSort=function(t){var e,i=[],s=0,n=0;if(tt=!1,et.call(t,st),tt){for(;e=t[n++];)e===t[n]&&(s=i.push(n));for(;s--;)it.call(t,i[s],1)}return t},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(n.apply(this)))};var nt,rt,ot,at,lt,ht=0,ct=0,dt=B(),ut=B(),pt=B(),ft=new RegExp(A+"+","g"),gt=new RegExp("^"+O+"$"),mt=S.extend({needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},F),vt=/^(?:input|select|textarea|button)$/i,bt=/^h\d$/i,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xt=function(){Mt()},wt=Lt((function(t){return!0===t.disabled&&E(t,"fieldset")}),{dir:"parentNode",next:"legend"});function St(t,e,i,s){var n,r,a,l,h,c,d,u=e&&e.ownerDocument,p=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return i;if(!s&&(Mt(e),e=e||ot,lt)){if(11!==p&&(h=yt.exec(t)))if(n=h[1]){if(9===p)return(a=e.getElementById(n))&&o.call(i,a),i;if(u&&(a=u.getElementById(n))&&S.contains(e,a))return o.call(i,a),i}else{if(h[2])return o.apply(i,e.getElementsByTagName(t)),i;if((n=h[3])&&e.getElementsByClassName)return o.apply(i,e.getElementsByClassName(n)),i}if(!(pt[t+" "]||k&&k.test(t))){if(d=t,u=e,1===p&&(_.test(t)||L.test(t))){for(((u=P.test(t)&&N(e.parentNode)||e)!=e||T)&&((l=e.getAttribute("id"))?l=S.escapeSelector(l):e.setAttribute("id",l=S.expando)),r=(c=X(t)).length;r--;)c[r]=(l?"#"+l:":scope")+" "+U(c[r]);d=c.join(",")}try{return o.apply(i,u.querySelectorAll(d)),i}catch(e){pt(t,!0)}finally{l===S.expando&&e.removeAttribute("id")}}}return Nt(t.replace(M,"$1"),e,i,s)}function Et(t){return t[S.expando]=!0,t}function Ct(t){return function(e){return E(e,"input")&&e.type===t}}function At(t){return function(e){return(E(e,"input")||E(e,"button"))&&e.type===t}}function Tt(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&&wt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function kt(t){return Et((function(e){return e=+e,Et((function(i,s){for(var n,r=t([],i.length,e),o=r.length;o--;)i[n=r[o]]&&(i[n]=!(s[n]=i[n]))}))}))}function Mt(t){var e,i=t?t.ownerDocument||t:v;i!=ot&&9===i.nodeType&&(at=(ot=i).documentElement,lt=!S.isXMLDoc(ot),T&&v!=ot&&(e=ot.defaultView)&&e.top!==e&&e.addEventListener("unload",xt))}for(nt in St.matches=function(t,e){return St(t,null,null,e)},St.matchesSelector=function(t,e){if(Mt(t),lt&&!pt[e+" "]&&(!k||!k.test(e)))try{return I.call(t,e)}catch(t){pt(e,!0)}return St(e,ot,null,[t]).length>0},S.expr={cacheLength:50,createPseudo:Et,match:mt,find:{ID:function(t,e){if(void 0!==e.getElementById&&lt){var i=e.getElementById(t);return i?[i]:[]}},TAG:function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},CLASS:function(t,e){if(void 0!==e.getElementsByClassName&&lt)return e.getElementsByClassName(t)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:Y,filter:{ID:function(t){var e=$(t);return function(t){return t.getAttribute("id")===e}},TAG:function(t){var e=$(t).toLowerCase();return"*"===t?function(){return!0}:function(t){return E(t,e)}},CLASS:function(t){var e=dt[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+A+"|$)"))&&dt(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(s){var n=S.attr(s,t);return null==n?"!="===e:!e||(n+="","="===e?n===i:"!="===e?n!==i:"^="===e?i&&0===n.indexOf(i):"*="===e?i&&n.indexOf(i)>-1:"$="===e?i&&n.slice(-i.length)===i:"~="===e?(" "+n.replace(ft," ")+" ").indexOf(i)>-1:"|="===e&&(n===i||n.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,s,n){var r="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===s&&0===n?function(t){return!!t.parentNode}:function(e,i,l){var h,c,d,u,p,f=r!==o?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),v=!l&&!a,b=!1;if(g){if(r){for(;f;){for(d=e;d=d[f];)if(a?E(d,m):1===d.nodeType)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&v){for(b=(u=(h=(c=g[S.expando]||(g[S.expando]={}))[t]||[])[0]===ht&&h[1])&&h[2],d=u&&g.childNodes[u];d=++u&&d&&d[f]||(b=u=0)||p.pop();)if(1===d.nodeType&&++b&&d===e){c[t]=[ht,u,b];break}}else if(v&&(b=u=(h=(c=e[S.expando]||(e[S.expando]={}))[t]||[])[0]===ht&&h[1]),!1===b)for(;(d=++u&&d&&d[f]||(b=u=0)||p.pop())&&(!(a?E(d,m):1===d.nodeType)||!++b||(v&&((c=d[S.expando]||(d[S.expando]={}))[t]=[ht,b]),d!==e)););return(b-=n)===s||b%s==0&&b/s>=0}}},PSEUDO:function(t,e){var i=S.expr.pseudos[t]||S.expr.setFilters[t.toLowerCase()]||j("unsupported pseudo: "+t);return i[S.expando]?i(e):i}},pseudos:{not:Et((function(t){var e=[],i=[],s=Bt(t.replace(M,"$1"));
vendor: 11,162 bytes, line 45
45return s[S.expando]?Et((function(t,e,i,n){for(var r,o=s(t,null,n,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))})):function(t,n,r){return e[0]=t,s(e,null,r,i),e[0]=null,!i.pop()}})),has:Et((function(t){return function(e){return St(t,e).length>0}})),contains:Et((function(t){return t=$(t),function(e){return(e.textContent||S.text(e)).indexOf(t)>-1}})),lang:Et((function(t){return gt.test(t||"")||j("unsupported lang: "+t),t=$(t).toLowerCase(),function(e){var i;do{if(i=lt?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===at},focus:function(t){return t===ot.activeElement&&ot.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:Tt(!1),disabled:Tt(!0),checked:function(t){return E(t,"input")&&!!t.checked||E(t,"option")&&!!t.selected},selected:function(t){return T&&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!S.expr.pseudos.empty(t)},header:function(t){return bt.test(t.nodeName)},input:function(t){return vt.test(t.nodeName)},button:function(t){return E(t,"input")&&"button"===t.type||E(t,"button")},text:function(t){return E(t,"input")&&"text"===t.type},first:kt((function(){return[0]})),last:kt((function(t,e){return[e-1]})),eq:kt((function(t,e,i){return[i<0?i+e:i]})),even:kt((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:kt((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:kt((function(t,e,i){var s;for(s=i<0?i+e:i>e?e:i;--s>=0;)t.push(s);return t})),gt:kt((function(t,e,i){for(var s=i<0?i+e:i;++s<e;)t.push(s);return t}))}},S.expr.pseudos.nth=S.expr.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.expr.pseudos[nt]=Ct(nt);for(nt in{submit:!0,reset:!0})S.expr.pseudos[nt]=At(nt);function Ot(){}function Lt(t,e,i){var s=e.dir,n=e.next,r=n||s,o=i&&"parentNode"===r,a=ct++;return e.first?function(e,i,n){for(;e=e[s];)if(1===e.nodeType||o)return t(e,i,n);return!1}:function(e,i,l){var h,c,d=[ht,a];if(l){for(;e=e[s];)if((1===e.nodeType||o)&&t(e,i,l))return!0}else for(;e=e[s];)if(1===e.nodeType||o)if(c=e[S.expando]||(e[S.expando]={}),n&&E(e,n))e=e[s]||e;else{if((h=c[r])&&h[0]===ht&&h[1]===a)return d[2]=h[2];if(c[r]=d,d[2]=t(e,i,l))return!0}return!1}}function _t(t){return t.length>1?function(e,i,s){for(var n=t.length;n--;)if(!t[n](e,i,s))return!1;return!0}:t[0]}function Pt(t,e,i,s,n){for(var r,o=[],a=0,l=t.length,h=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,s,n)||(o.push(r),h&&e.push(a)));return o}function Dt(t,e,i,s,n,r){return s&&!s[S.expando]&&(s=Dt(s)),n&&!n[S.expando]&&(n=Dt(n,r)),Et((function(r,l,h,c){var d,u,p,f,g=[],m=[],v=l.length,b=r||function(t,e,i){for(var s=0,n=e.length;s<n;s++)St(t,e[s],i);return i}(e||"*",h.nodeType?[h]:h,[]),y=!t||!r&&e?b:Pt(b,g,t,h,c);if(i?i(y,f=n||(r?t:v||s)?[]:l,h,c):f=y,s)for(d=Pt(f,m),s(d,[],h,c),u=d.length;u--;)(p=d[u])&&(f[m[u]]=!(y[m[u]]=p));if(r){if(n||t){if(n){for(d=[],u=f.length;u--;)(p=f[u])&&d.push(y[u]=p);n(null,f=[],d,c)}for(u=f.length;u--;)(p=f[u])&&(d=n?a.call(r,p):g[u])>-1&&(r[d]=!(l[d]=p))}}else f=Pt(f===l?f.splice(v,f.length):f),n?n(null,l,f,c):o.apply(l,f)}))}function It(t){for(var e,i,s,n=t.length,r=S.expr.relative[t[0].type],o=r||S.expr.relative[" "],l=r?1:0,h=Lt((function(t){return t===e}),o,!0),c=Lt((function(t){return a.call(e,t)>-1}),o,!0),d=[function(t,i,s){var n=!r&&(s||i!=rt)||((e=i).nodeType?h(t,i,s):c(t,i,s));return e=null,n}];l<n;l++)if(i=S.expr.relative[t[l].type])d=[Lt(_t(d),i)];else{if((i=S.expr.filter[t[l].type].apply(null,t[l].matches))[S.expando]){for(s=++l;s<n&&!S.expr.relative[t[s].type];s++);return Dt(l>1&&_t(d),l>1&&U(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(M,"$1"),i,l<s&&It(t.slice(l,s)),s<n&&It(t=t.slice(s)),s<n&&U(t))}d.push(i)}return _t(d)}function Bt(t,e){var i,s=[],n=[],r=ut[t+" "];if(!r){for(e||(e=X(t)),i=e.length;i--;)(r=It(e[i]))[S.expando]?s.push(r):n.push(r);r=ut(t,function(t,e){var i=e.length>0,s=t.length>0,n=function(n,r,a,l,h){var c,d,u,p=0,f="0",g=n&&[],m=[],v=rt,b=n||s&&S.expr.find.TAG("*",h),y=ht+=null==v?1:Math.random()||.1;for(h&&(rt=r==ot||r||h);null!=(c=b[f]);f++){if(s&&c){for(d=0,r||c.ownerDocument==ot||(Mt(c),a=!lt);u=t[d++];)if(u(c,r||ot,a)){o.call(l,c);break}h&&(ht=y)}i&&((c=!u&&c)&&p--,n&&g.push(c))}if(p+=f,i&&f!==p){for(d=0;u=e[d++];)u(g,m,r,a);if(n){if(p>0)for(;f--;)g[f]||m[f]||(m[f]=C.call(l));m=Pt(m)}o.apply(l,m),h&&!n&&m.length>0&&p+e.length>1&&S.uniqueSort(l)}return h&&(ht=y,rt=v),g};return i?Et(n):n}(n,s)),r.selector=t}return r}function Nt(t,e,i,s){var n,r,a,l,h,c="function"==typeof t&&t,d=!s&&X(t=c.selector||t);if(i=i||[],1===d.length){if((r=d[0]=d[0].slice(0)).length>2&&"ID"===(a=r[0]).type&&9===e.nodeType&&lt&&S.expr.relative[r[1].type]){if(!(e=(S.expr.find.ID($(a.matches[0]),e)||[])[0]))return i;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(n=mt.needsContext.test(t)?0:r.length;n--&&(a=r[n],!S.expr.relative[l=a.type]);)if((h=S.expr.find[l])&&(s=h($(a.matches[0]),P.test(r[0].type)&&N(e.parentNode)||e))){if(r.splice(n,1),!(t=s.length&&U(r)))return o.apply(i,s),i;break}}return(c||Bt(t,d))(s,e,!lt,i,!e||P.test(t)&&N(e.parentNode)||e),i}function zt(t,e,i){for(var s=[],n=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(n&&S(t).is(i))break;s.push(t)}return s}function Rt(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}Ot.prototype=S.expr.pseudos,S.expr.setFilters=new Ot,Mt(),S.find=St,St.compile=Bt,St.select=Nt,St.setDocument=Mt,St.tokenize=X;var Ft=S.expr.match.needsContext,Ht=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Wt(t){return"<"===t[0]&&">"===t[t.length-1]&&t.length>=3}function qt(t,e,i){return"function"==typeof e?S.grep(t,(function(t,s){return!!e.call(t,s,t)!==i})):e.nodeType?S.grep(t,(function(t){return t===e!==i})):"string"!=typeof e?S.grep(t,(function(t){return a.call(e,t)>-1!==i})):S.filter(e,t,i)}S.filter=function(t,e,i){var s=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===s.nodeType?S.find.matchesSelector(s,t)?[s]:[]:S.find.matches(t,S.grep(e,(function(t){return 1===t.nodeType})))},S.fn.extend({find:function(t){var e,i,s=this.length,n=this;if("string"!=typeof t)return this.pushStack(S(t).filter((function(){for(e=0;e<s;e++)if(S.contains(n[e],this))return!0})));for(i=this.pushStack([]),e=0;e<s;e++)S.find(t,n[e],i);return s>1?S.uniqueSort(i):i},filter:function(t){return this.pushStack(qt(this,t||[],!1))},not:function(t){return this.pushStack(qt(this,t||[],!0))},is:function(t){return!!qt(this,"string"==typeof t&&Ft.test(t)?S(t):t||[],!1).length}});var $t,jt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e){var i,s;if(!t)return this;if(t.nodeType)return this[0]=t,this.length=1,this;if("function"==typeof t)return void 0!==$t.ready?$t.ready(t):t(S);if(Wt(i=t+""))i=[null,t,null];else{if("string"!=typeof t)return S.makeArray(t,this);i=jt.exec(t)}if(!i||!i[1]&&e)return!e||e.jquery?(e||$t).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:v,!0)),Ht.test(i[1])&&S.isPlainObject(e))for(i in e)"function"==typeof this[i]?this[i](e[i]):this.attr(i,e[i]);return this}return(s=v.getElementById(i[2]))&&(this[0]=s,this.length=1),this}).prototype=S.fn,$t=S(v);var Gt=/^(?:parents|prev(?:Until|All))/,Vt={children:!0,contents:!0,next:!0,prev:!0};function Xt(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function Yt(t){return t}function Ut(t){throw t}function Kt(t,e,i,s){var n;try{t&&"function"==typeof(n=t.promise)?n.call(t).done(e).fail(i):t&&"function"==typeof(n=t.then)?n.call(t,e,i):e.apply(void 0,[t].slice(s))}catch(t){i(t)}}S.fn.extend({has:function(t){var e=S(t,this),i=e.length;return this.filter((function(){for(var t=0;t<i;t++)if(S.contains(this,e[t]))return!0}))},closest:function(t,e){var i,s=0,n=this.length,r=[],o="string"!=typeof t&&S(t);if(!Ft.test(t))for(;s<n;s++)for(i=this[s];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&S.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?S.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?a.call(S(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(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return zt(t,"parentNode")},parentsUntil:function(t,e,i){return zt(t,"parentNode",i)},next:function(t){return Xt(t,"nextSibling")},prev:function(t){return Xt(t,"previousSibling")},nextAll:function(t){return zt(t,"nextSibling")},prevAll:function(t){return zt(t,"previousSibling")},nextUntil:function(t,e,i){return zt(t,"nextSibling",i)},prevUntil:function(t,e,i){return zt(t,"previousSibling",i)},siblings:function(t){return Rt((t.parentNode||{}).firstChild,t)},children:function(t){return Rt(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(E(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},(function(t,e){S.fn[t]=function(i,s){var n=S.map(this,e,i);return"Until"!==t.slice(-5)&&(s=i),s&&"string"==typeof s&&(n=S.filter(s,n)),this.length>1&&(Vt[t]||S.uniqueSort(n),Gt.test(t)&&n.reverse()),this.pushStack(n)}})),S.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return S.each(t.match(Z)||[],(function(t,i){e[i]=!0})),e}(t):S.extend({},t);var e,i,s,n,r=[],o=[],a=-1,l=function(){for(n=n||t.once,s=e=!0;o.length;a=-1)for(i=o.shift();++a<r.length;)!1===r[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=r.length,i=!1);t.memory||(i=!1),e=!1,n&&(r=i?[]:"")},h={add:function(){return r&&(i&&!e&&(a=r.length-1,o.push(i)),function e(i){S.each(i,(function(i,s){"function"==typeof s?t.unique&&h.has(s)||r.push(s):s&&s.length&&"string"!==f(s)&&e(s)}))}(arguments),i&&!e&&l()),this},remove:function(){return S.each(arguments,(function(t,e){for(var i;(i=S.inArray(e,r,i))>-1;)r.splice(i,1),i<=a&&a--})),this},has:function(t){return t?S.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return n=o=[],r=i="",this},disabled:function(){return!r},lock:function(){return n=o=[],i||e||(r=i=""),this},locked:function(){return!!n},fireWith:function(t,i){return n||(i=[t,(i=i||[]).slice?i.slice():i],o.push(i),e||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!s}};return h},S.extend({Deferred:function(e){var i=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],s="pending",n={state:function(){return s},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return n.then(null,t)},pipe:function(){var t=arguments;
vendor: 3,580 bytes, line 45
45return S.Deferred((function(e){S.each(i,(function(i,s){var n="function"==typeof t[s[4]]&&t[s[4]];r[s[1]]((function(){var t=n&&n.apply(this,arguments);t&&"function"==typeof t.promise?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[s[0]+"With"](this,n?[t]:arguments)}))})),t=null})).promise()},then:function(e,s,n){var r=0;function o(e,i,s,n){return function(){var a=this,l=arguments,h=function(){var t,h;if(!(e<r)){if((t=s.apply(a,l))===i.promise())throw new TypeError("Thenable self-resolution");"function"==typeof(h=t&&("object"==typeof t||"function"==typeof t)&&t.then)?n?h.call(t,o(r,i,Yt,n),o(r,i,Ut,n)):(r++,h.call(t,o(r,i,Yt,n),o(r,i,Ut,n),o(r,i,Yt,i.notifyWith))):(s!==Yt&&(a=void 0,l=[t]),(n||i.resolveWith)(a,l))}},c=n?h:function(){try{h()}catch(t){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(t,c.error),e+1>=r&&(s!==Ut&&(a=void 0,l=[t]),i.rejectWith(a,l))}};e?c():(S.Deferred.getErrorHook&&(c.error=S.Deferred.getErrorHook()),t.setTimeout(c))}}return S.Deferred((function(t){i[0][3].add(o(0,t,"function"==typeof n?n:Yt,t.notifyWith)),i[1][3].add(o(0,t,"function"==typeof e?e:Yt)),i[2][3].add(o(0,t,"function"==typeof s?s:Ut))})).promise()},promise:function(t){return null!=t?S.extend(t,n):n}},r={};return S.each(i,(function(t,e){var o=e[2],a=e[5];n[e[1]]=o.add,a&&o.add((function(){s=a}),i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock),o.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=o.fireWith})),n.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,i=e,s=Array(i),r=n.call(arguments),o=S.Deferred(),a=function(t){return function(i){s[t]=this,r[t]=arguments.length>1?n.call(arguments):i,--e||o.resolveWith(s,r)}};if(e<=1&&(Kt(t,o.done(a(i)).resolve,o.reject,!e),"pending"===o.state()||"function"==typeof(r[i]&&r[i].then)))return o.then();for(;i--;)Kt(r[i],a(i),o.reject);return o.promise()}});var Zt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,i){e&&Zt.test(e.name)&&t.console.warn("jQuery.Deferred exception",e,i)},S.readyException=function(e){t.setTimeout((function(){throw e}))};var Qt=S.Deferred();function Jt(){v.removeEventListener("DOMContentLoaded",Jt),t.removeEventListener("load",Jt),S.ready()}S.fn.ready=function(t){return Qt.then(t).catch((function(t){S.readyException(t)})),this},S.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==t&&--S.readyWait>0||Qt.resolveWith(v,[S]))}}),S.ready.then=Qt.then,"loading"!==v.readyState?t.setTimeout(S.ready):(v.addEventListener("DOMContentLoaded",Jt),t.addEventListener("load",Jt));var te=/-([a-z])/g;function ee(t,e){return e.toUpperCase()}function ie(t){return t.replace(te,ee)}function se(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function ne(){this.expando=S.expando+ne.uid++}ne.uid=1,ne.prototype={cache:function(t){var e=t[this.expando];return e||(e=Object.create(null),se(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var s,n=this.cache(t);if("string"==typeof e)n[ie(e)]=i;else for(s in e)n[ie(s)]=e[s];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][ie(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,s=t[this.expando];if(void 0!==s){if(void 0!==e){i=(e=Array.isArray(e)?e.map(ie):(e=ie(e))in s?[e]:e.match(Z)||[]).length;for(;i--;)delete s[e[i]]}
vendor: 5,140 bytes, line 45
45(void 0===e||S.isEmptyObject(s))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var re=new ne,oe=new ne,ae=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,le=/[A-Z]/g;function he(t,e,i){var s;if(void 0===i&&1===t.nodeType)if(s="data-"+e.replace(le,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(s))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ae.test(t)?JSON.parse(t):t)}(i)}catch(t){}oe.set(t,e,i)}else i=void 0;return i}S.extend({hasData:function(t){return oe.hasData(t)||re.hasData(t)},data:function(t,e,i){return oe.access(t,e,i)},removeData:function(t,e){oe.remove(t,e)},_data:function(t,e,i){return re.access(t,e,i)},_removeData:function(t,e){re.remove(t,e)}}),S.fn.extend({data:function(t,e){var i,s,n,r=this[0],o=r&&r.attributes;if(void 0===t){if(this.length&&(n=oe.get(r),1===r.nodeType&&!re.get(r,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(s=o[i].name).indexOf("data-")&&(s=ie(s.slice(5)),he(r,s,n[s]));re.set(r,"hasDataAttrs",!0)}return n}return"object"==typeof t?this.each((function(){oe.set(this,t)})):K(this,(function(e){var i;if(r&&void 0===e)return void 0!==(i=oe.get(r,t))||void 0!==(i=he(r,t))?i:void 0;this.each((function(){oe.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){oe.remove(this,t)}))}}),S.extend({queue:function(t,e,i){var s;if(t)return e=(e||"fx")+"queue",s=re.get(t,e),i&&(!s||Array.isArray(i)?s=re.set(t,e,S.makeArray(i)):s.push(i)),s||[]},dequeue:function(t,e){e=e||"fx";var i=S.queue(t,e),s=i.length,n=i.shift(),r=S._queueHooks(t,e);"inprogress"===n&&(n=i.shift(),s--),n&&("fx"===e&&i.unshift("inprogress"),delete r.stop,n.call(t,(function(){S.dequeue(t,e)}),r)),!s&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return re.get(t,i)||re.set(t,i,{empty:S.Callbacks("once memory").add((function(){re.remove(t,[e+"queue",i])}))})}}),S.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?S.queue(this[0],t):void 0===e?this:this.each((function(){var i=S.queue(this,t,e);S._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&S.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){S.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,s=1,n=S.Deferred(),r=this,o=this.length,a=function(){--s||n.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=re.get(r[o],t+"queueHooks"))&&i.empty&&(s++,i.empty.add(a));return a(),n.promise(e)}});var ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,de=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),ue=["Top","Right","Bottom","Left"];function pe(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&"none"===S.css(t,"display")}var fe=/^[a-z]/,ge=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function me(t){return fe.test(t)&&ge.test(t[0].toUpperCase()+t.slice(1))}function ve(t,e,i,s){var n,r,o=20,a=s?function(){return s.cur()}:function(){return S.css(t,e,"")},l=a(),h=i&&i[3]||(me(e)?"px":""),c=t.nodeType&&(!me(e)||"px"!==h&&+l)&&de.exec(S.css(t,e));if(c&&c[3]!==h){for(l/=2,h=h||c[3],c=+l||1;o--;)S.style(t,e,c+h),(1-r)*(1-(r=a()/l||.5))<=0&&(o=0),c/=r;c*=2,S.style(t,e,c+h),i=i||[]}return i&&(c=+c||+l||0,n=i[1]?c+(i[1]+1)*i[2]:+i[2],s&&(s.unit=h,s.start=c,s.end=n)),n}var be=/^-ms-/;function ye(t){return ie(t.replace(be,"ms-"))}var xe={};function we(t){var e,i=t.ownerDocument,s=t.nodeName,n=xe[s];return n||(e=i.body.appendChild(i.createElement(s)),n=S.css(e,"display"),e.parentNode.removeChild(e),"none"===n&&(n="block"),xe[s]=n,n)}function Se(t,e){for(var i,s,n=[],r=0,o=t.length;r<o;r++)(s=t[r]).style&&(i=s.style.display,e?("none"===i&&(n[r]=re.get(s,"display")||null,n[r]||(s.style.display="")),""===s.style.display&&pe(s)&&(n[r]=we(s))):"none"!==i&&(n[r]="none",re.set(s,"display",i)));for(r=0;r<o;r++)null!=n[r]&&(t[r].style.display=n[r]);return t}S.fn.extend({show:function(){return Se(this,!0)},hide:function(){return Se(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){pe(this)?S(this).show():S(this).hide()}))}});var Ee=function(t){return S.contains(t.ownerDocument,t)||t.getRootNode(Ce)===t.ownerDocument},Ce={composed:!0};D.getRootNode||(Ee=function(t){return S.contains(t.ownerDocument,t)});var Ae=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Te={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};function ke(t,e){var s;return s=void 0!==t.getElementsByTagName?i.slice.call(t.getElementsByTagName(e||"*")):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?S.merge([t],s):s}Te.tbody=Te.tfoot=Te.colgroup=Te.caption=Te.thead,Te.th=Te.td;var Me=/^$|^module$|\/(?:java|ecma)script/i;function Oe(t,e){for(var i=0,s=t.length;i<s;i++)re.set(t[i],"globalEval",!e||re.get(e[i],"globalEval"))}var Le=/<|&#?\w+;/;function _e(t,e,s,n,r){for(var o,a,l,h,c,d,u=e.createDocumentFragment(),p=[],g=0,v=t.length;g<v;
vendor: 6,308 bytes, line 45
45g++)if((o=t[g])||0===o)if("object"===f(o)&&(o.nodeType||m(o)))S.merge(p,o.nodeType?[o]:o);else if(Le.test(o)){for(a=a||u.appendChild(e.createElement("div")),l=(Ae.exec(o)||["",""])[1].toLowerCase(),d=(h=Te[l]||i).length;--d>-1;)a=a.appendChild(e.createElement(h[d]));a.innerHTML=S.htmlPrefilter(o),S.merge(p,a.childNodes),(a=u.firstChild).textContent=""}else p.push(e.createTextNode(o));for(u.textContent="",g=0;o=p[g++];)if(n&&S.inArray(o,n)>-1)r&&r.push(o);else if(c=Ee(o),a=ke(u.appendChild(o),"script"),c&&Oe(a),s)for(d=0;o=a[d++];)Me.test(o.type||"")&&s.push(o);return u}function Pe(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function De(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ie(t,e,i,s){e=r(e);var n,o,a,l,h,c,d=0,u=t.length,p=u-1,f=e[0];if("function"==typeof f)return t.each((function(n){var r=t.eq(n);e[0]=f.call(this,n,r.html()),Ie(r,e,i,s)}));if(u&&(o=(n=_e(e,t[0].ownerDocument,!1,t,s)).firstChild,1===n.childNodes.length&&(n=o),o||s)){for(l=(a=S.map(ke(n,"script"),Pe)).length;d<u;d++)h=n,d!==p&&(h=S.clone(h,!0,!0),l&&S.merge(a,ke(h,"script"))),i.call(t[d],h,d);if(l)for(c=a[a.length-1].ownerDocument,S.map(a,De),d=0;d<l;d++)h=a[d],Me.test(h.type||"")&&!re.get(h,"globalEval")&&S.contains(c,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?S._evalUrl&&!h.noModule&&S._evalUrl(h.src,{nonce:h.nonce,crossOrigin:h.crossOrigin},c):y(h.textContent,h,c))}return t}var Be=/^(?:checkbox|radio)$/i,Ne=/^([^.]*)(?:\.(.+)|)/;function ze(){return!0}function Re(){return!1}function Fe(t,e,i,s,n,r){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(s=s||i,i=void 0),e)Fe(t,a,i,s,e[a],r);return t}if(null==s&&null==n?(n=i,s=i=void 0):null==n&&("string"==typeof i?(n=s,s=void 0):(n=s,s=i,i=void 0)),!1===n)n=Re;else if(!n)return t;return 1===r&&(o=n,n=function(t){return S().off(t),o.apply(this,arguments)},n.guid=o.guid||(o.guid=S.guid++)),t.each((function(){S.event.add(this,e,n,s,i)}))}function He(t,e,i){i?(re.set(t,e,!1),S.event.add(t,e,{namespace:!1,handler:function(t){var i,s=re.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(S.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=n.call(arguments),re.set(this,e,s),this[e](),i=re.get(this,e),re.set(this,e,!1),s!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else s.length&&(re.set(this,e,{value:S.event.trigger(s[0],s.slice(1),this)}),t.stopPropagation(),t.isImmediatePropagationStopped=ze)}})):void 0===re.get(t,e)&&S.event.add(t,e,ze)}S.event={add:function(t,e,i,s,n){var r,o,a,l,h,c,d,u,p,f,g,m=re.get(t);if(se(t))for(i.handler&&(i=(r=i).handler,n=r.selector),n&&S.find.matchesSelector(D,n),i.guid||(i.guid=S.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(Z)||[""]).length;h--;)p=g=(a=Ne.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=S.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},c=S.extend({type:p,origType:g,data:s,handler:i,guid:i.guid,selector:n,needsContext:n&&S.expr.match.needsContext.test(n),namespace:f.join(".")},r),(u=l[p])||((u=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,s,f,o)||t.addEventListener&&t.addEventListener(p,o)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),n?u.splice(u.delegateCount++,0,c):u.push(c))},remove:function(t,e,i,s,n){var r,o,a,l,h,c,d,u,p,f,g,m=re.hasData(t)&&re.get(t);if(m&&(l=m.events)){for(h=(e=(e||"").match(Z)||[""]).length;h--;)if(p=g=(a=Ne.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},u=l[p=(s?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=u.length;r--;)c=u[r],!n&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||s&&s!==c.selector&&("**"!==s||!c.selector)||(u.splice(r,1),c.selector&&u.delegateCount--,d.remove&&d.remove.call(t,c));o&&!u.length&&(d.teardown&&!1!==d.teardown.call(t,f,m.handle)||S.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)S.event.remove(t,p+e[h],i,s,!0);S.isEmptyObject(l)&&re.remove(t,"handle events")}},dispatch:function(t){var e,i,s,n,r,o,a=new Array(arguments.length),l=S.event.fix(t),h=(re.get(this,"events")||Object.create(null))[l.type]||[],c=S.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(o=S.event.handlers.call(this,l,h),e=0;(n=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=n.elem,i=0;(r=n.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(s=((S.event.special[r.origType]||{}).handle||r.handler).apply(n.elem,a))&&!1===(l.result=s)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,s,n,r,o,a=[],l=e.delegateCount,h=t.target;if(l&&!("click"===t.type&&t.button>=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(r=[],o={},i=0;i<l;i++)void 0===o[n=(s=e[i]).selector+" "]&&(o[n]=s.needsContext?S(n,this).index(h)>-1:S.find(n,this,null,[h]).length),o[n]&&r.push(s);r.length&&a.push({elem:h,handlers:r})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:"function"==typeof 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[S.expando]?t:new S.Event(t)},special:S.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Be.test(e.type)&&e.click&&E(e,"input")&&He(e,"click",!0),!1},trigger:function(t){var e=this||t;return Be.test(e.type)&&e.click&&E(e,"input")&&He(e,"click"),!0},_default:function(t){var e=t.target;return Be.test(e.type)&&e.click&&E(e,"input")&&re.get(e,"click")||E(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.preventDefault()}}})}
vendor: 1,835 bytes, line 45
45,S.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},S.Event=function(t,e){if(!(this instanceof S.Event))return new S.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?ze:Re,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=ze,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=ze,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=ze,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.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},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(t,e){function i(t){var e=S.event.fix(t);e.type="focusin"===t.type?"focus":"blur",e.isSimulated=!0,e.target===e.currentTarget&&re.get(this,"handle")(e)}S.event.special[t]={setup:function(){if(He(this,t,!0),!T)return!1;this.addEventListener(e,i)},trigger:function(){return He(this,t),!0},teardown:function(){if(!T)return!1;this.removeEventListener(e,i)},_default:function(e){return re.get(e.target,t)},delegateType:e}}
vendor: 4,131 bytes, line 45
45)),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){S.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,s=this,n=t.relatedTarget,r=t.handleObj;return n&&(n===s||S.contains(s,n))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}})),S.fn.extend({on:function(t,e,i,s){return Fe(this,t,e,i,s)},one:function(t,e,i,s){return Fe(this,t,e,i,s,1)},off:function(t,e,i){var s,n;if(t&&t.preventDefault&&t.handleObj)return s=t.handleObj,S(t.delegateTarget).off(s.namespace?s.origType+"."+s.namespace:s.origType,s.selector,s.handler),this;if("object"==typeof t){for(n in t)this.off(n,e,t[n]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Re),this.each((function(){S.event.remove(this,t,i,e)}))}});var We=/<script|<style|<link/i;function qe(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function $e(t,e){var i,s,n,r=re.get(t,"events");if(1===e.nodeType){if(r)for(i in re.remove(e,"handle events"),r)for(s=0,n=r[i].length;s<n;s++)S.event.add(e,i,r[i][s]);oe.hasData(t)&&oe.set(e,S.extend({},oe.get(t)))}}function je(t,e,i){for(var s,n=e?S.filter(e,t):t,r=0;null!=(s=n[r]);r++)i||1!==s.nodeType||S.cleanData(ke(s)),s.parentNode&&(i&&Ee(s)&&Oe(ke(s,"script")),s.parentNode.removeChild(s));return t}S.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var s,n,r,o,a=t.cloneNode(!0),l=Ee(t);if(T&&(1===t.nodeType||11===t.nodeType)&&!S.isXMLDoc(t))for(o=ke(a),s=0,n=(r=ke(t)).length;s<n;s++)E(o[s],"textarea")&&(o[s].defaultValue=r[s].defaultValue);if(e)if(i)for(r=r||ke(t),o=o||ke(a),s=0,n=r.length;s<n;s++)$e(r[s],o[s]);else $e(t,a);return(o=ke(a,"script")).length>0&&Oe(o,!l&&ke(t,"script")),a},cleanData:function(t){for(var e,i,s,n=S.event.special,r=0;void 0!==(i=t[r]);r++)if(se(i)){if(e=i[re.expando]){if(e.events)for(s in e.events)n[s]?S.event.remove(i,s):S.removeEvent(i,s,e.handle);i[re.expando]=void 0}i[oe.expando]&&(i[oe.expando]=void 0)}}}),S.fn.extend({detach:function(t){return je(this,t,!0)},remove:function(t){return je(this,t)},text:function(t){return K(this,(function(t){return void 0===t?S.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 Ie(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,t).appendChild(t)}))},prepend:function(){return Ie(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=qe(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ie(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Ie(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&&(S.cleanData(ke(t,!1)),t.textContent="");return this},clone:function(t,e){return t=t??!1,e=e??t,this.map((function(){return S.clone(this,t,e)}))},html:function(t){return K(this,(function(t){var e=this[0]||{},i=0,s=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!We.test(t)&&!Te[(Ae.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;i<s;i++)1===(e=this[i]||{}).nodeType&&(S.cleanData(ke(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Ie(this,arguments,(function(e){var i=this.parentNode;S.inArray(this,t)<0&&(S.cleanData(ke(this)),i&&i.replaceChild(e,this))}),t)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){S.fn[t]=function(t){for(var i,s=[],n=S(t),r=n.length-1,a=0;a<=r;a++)i=a===r?this:this.clone(!0),S(n[a])[e](i),o.apply(s,i);return this.pushStack(s)}}));var Ge=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),Ve=/^--/;function Xe(e){var i=e.ownerDocument.defaultView;return i||(i=t),i.getComputedStyle(e)}function Ye(t,e,i){var s,n=Ve.test(e);
vendor: 4,100 bytes, line 45
45return(i=i||Xe(t))&&(s=i.getPropertyValue(e)||i[e],n&&s&&(s=s.replace(M,"$1")||void 0),""!==s||Ee(t)||(s=S.style(t,e))),void 0!==s?s+"":s}var Ue=["Webkit","Moz","ms"],Ke=v.createElement("div").style;function Ze(t){return t in Ke?t:function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Ue.length;i--;)if((t=Ue[i]+e)in Ke)return t}(t)||t}var Qe,Je,ti=v.createElement("table");function ei(){if(ti&&ti.style){var e,i=v.createElement("col"),s=v.createElement("tr"),n=v.createElement("td");ti.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",s.style.cssText="box-sizing:content-box;border:1px solid;height:1px",n.style.cssText="height:9px;width:9px;padding:0",i.span=2,D.appendChild(ti).appendChild(i).parentNode.appendChild(s).appendChild(n).parentNode.appendChild(n.cloneNode(!0)),0!==ti.offsetWidth?(e=t.getComputedStyle(s),Je=T||18===Math.round(parseFloat(t.getComputedStyle(i).width)),Qe=Math.round(parseFloat(e.height)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth))===s.offsetHeight,D.removeChild(ti),ti=null):D.removeChild(ti)}}S.extend(p,{reliableTrDimensions:function(){return ei(),Qe},reliableColDimensions:function(){return ei(),Je}});var ii={position:"absolute",visibility:"hidden",display:"block"},si={letterSpacing:"0",fontWeight:"400"};function ni(t,e,i){var s=de.exec(e);return s?Math.max(0,s[2]-(i||0))+(s[3]||"px"):e}function ri(t,e,i,s,n,r){var o="width"===e?1:0,a=0,l=0,h=0;if(i===(s?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(h+=S.css(t,i+ue[o],!0,n)),s?("content"===i&&(l-=S.css(t,"padding"+ue[o],!0,n)),"margin"!==i&&(l-=S.css(t,"border"+ue[o]+"Width",!0,n))):(l+=S.css(t,"padding"+ue[o],!0,n),"padding"!==i?l+=S.css(t,"border"+ue[o]+"Width",!0,n):a+=S.css(t,"border"+ue[o]+"Width",!0,n));return!s&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l+h}function oi(t,e,i){var s=Xe(t),n=(T||i)&&"border-box"===S.css(t,"boxSizing",!1,s),r=n,o=Ye(t,e,s),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ge.test(o)){if(!i)return o;o="auto"}return("auto"===o||T&&n||!p.reliableColDimensions()&&E(t,"col")||!p.reliableTrDimensions()&&E(t,"tr"))&&t.getClientRects().length&&(n="border-box"===S.css(t,"boxSizing",!1,s),(r=a in t)&&(o=t[a])),(o=parseFloat(o)||0)+ri(t,e,i||(n?"border":"content"),r,s,o)+"px"}function ai(t,e,i,s,n){return new ai.prototype.init(t,e,i,s,n)}S.extend({cssHooks:{},style:function(t,e,i,s){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var n,r,o,a=ye(e),l=Ve.test(e),h=t.style;if(l||(e=Ze(a)),o=S.cssHooks[e]||S.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(n=o.get(t,!1,s))?n:h[e];"string"===(r=typeof i)&&(n=de.exec(i))&&n[1]&&(i=ve(t,e,n),r="number"),null!=i&&i==i&&("number"===r&&(i+=n&&n[3]||(me(a)?"px":"")),T&&""===i&&0===e.indexOf("background")&&(h[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,s))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,s){var n,r,o,a=ye(e);return Ve.test(e)||(e=Ze(a)),(o=S.cssHooks[e]||S.cssHooks[a])&&"get"in o&&(n=o.get(t,!0,i)),void 0===n&&(n=Ye(t,e,s)),"normal"===n&&e in si&&(n=si[e]),""===i||i?(r=parseFloat(n),!0===i||isFinite(r)?r||0:n):n}}),S.each(["height","width"],(function(t,e){S.cssHooks[e]={get:function(t,i,s){if(i)return"none"===S.css(t,"display")?function(t,e,i){var s,n,r={};for(n in e)r[n]=t.style[n],t.style[n]=e[n];for(n in s=i.call(t),e)t.style[n]=r[n];return s}(t,ii,(function(){return oi(t,e,s)})):oi(t,e,s)},set:function(t,i,s){var n,r=Xe(t),o=s&&"border-box"===S.css(t,"boxSizing",!1,r),a=s?ri(t,e,s,o,r):0;return a&&(n=de.exec(i))&&"px"!==(n[3]||"px")&&(t.style[e]=i,i=S.css(t,e)),ni(0,i,a)}}})),S.each({margin:"",padding:"",border:"Width"},(function(t,e){S.cssHooks[t+e]={expand:function(i){for(var s=0,n={},r="string"==typeof i?i.split(" "):[i];s<4;s++)n[t+ue[s]+e]=r[s]||r[s-2]||r[0];return n}},"margin"!==t&&(S.cssHooks[t+e].set=ni)})),S.fn.extend({css:function(t,e){return K(this,(function(t,e,i){var s,n,r={},o=0;if(Array.isArray(e)){for(s=Xe(t),n=e.length;o<n;o++)r[e[o]]=S.css(t,e[o],!1,s);return r}return void 0!==i?S.style(t,e,i):S.css(t,e)}),t,e,arguments.length>1)}}
vendor: 9,190 bytes, line 45
45),S.Tween=ai,ai.prototype={constructor:ai,init:function(t,e,i,s,n,r){this.elem=t,this.prop=i,this.easing=n||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=s,this.unit=r||(me(i)?"px":"")},cur:function(){var t=ai.propHooks[this.prop];return t&&t.get?t.get(this):ai.propHooks._default.get(this)},run:function(t){var e,i=ai.propHooks[this.prop];return this.options.duration?this.pos=e=S.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),i&&i.set?i.set(this):ai.propHooks._default.set(this),this}},ai.prototype.init.prototype=ai.prototype,ai.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=S.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1!==t.elem.nodeType||!S.cssHooks[t.prop]&&null==t.elem.style[Ze(t.prop)]?t.elem[t.prop]=t.now:S.style(t.elem,t.prop,t.now+t.unit)}}},S.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},S.fx=ai.prototype.init,S.fx.step={};var li,hi,ci=/^(?:toggle|show|hide)$/,di=/queueHooks$/;function ui(){hi&&(!1===v.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(ui):t.setTimeout(ui,13),S.fx.tick())}function pi(){return t.setTimeout((function(){li=void 0})),li=Date.now()}function fi(t,e){var i,s=0,n={height:t};for(e=e?1:0;s<4;s+=2-e)n["margin"+(i=ue[s])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function gi(t,e,i){for(var s,n=(mi.tweeners[e]||[]).concat(mi.tweeners["*"]),r=0,o=n.length;r<o;r++)if(s=n[r].call(i,e,t))return s}function mi(t,e,i){var s,n,r=0,o=mi.prefilters.length,a=S.Deferred().always((function(){delete l.elem})),l=function(){if(n)return!1;for(var e=li||pi(),i=Math.max(0,h.startTime+h.duration-e),s=1-(i/h.duration||0),r=0,o=h.tweens.length;r<o;r++)h.tweens[r].run(s);return a.notifyWith(t,[h,s,i]),s<1&&o?i:(o||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},i),originalProperties:e,originalOptions:i,startTime:li||pi(),duration:i.duration,tweens:[],createTween:function(e,i){var s=S.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(s),s},stop:function(e){var i=0,s=e?h.tweens.length:0;if(n)return this;for(n=!0;i<s;i++)h.tweens[i].run(1);return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),c=h.props;for(!function(t,e){var i,s,n,r,o;for(i in t)if(n=e[s=ye(i)],r=t[i],Array.isArray(r)&&(n=r[1],r=t[i]=r[0]),i!==s&&(t[s]=r,delete t[i]),(o=S.cssHooks[s])&&"expand"in o)for(i in r=o.expand(r),delete t[s],r)i in t||(t[i]=r[i],e[i]=n);else e[s]=n}(c,h.opts.specialEasing);r<o;r++)if(s=mi.prefilters[r].call(h,t,c,h.opts))return"function"==typeof s.stop&&(S._queueHooks(h.elem,h.opts.queue).stop=s.stop.bind(s)),s;return S.map(c,gi,h),"function"==typeof h.opts.start&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),S.fx.timer(S.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}S.Animation=S.extend(mi,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ve(i.elem,t,de.exec(e),i),i}]},tweener:function(t,e){"function"==typeof t?(e=t,t=["*"]):t=t.match(Z);for(var i,s=0,n=t.length;s<n;s++)i=t[s],mi.tweeners[i]=mi.tweeners[i]||[],mi.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var s,n,r,o,a,l,h,c,d="width"in e||"height"in e,u=this,p={},f=t.style,g=t.nodeType&&pe(t),m=re.get(t,"fxshow");for(s in i.queue||(null==(o=S._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,u.always((function(){u.always((function(){o.unqueued--,S.queue(t,"fx").length||o.empty.fire()}))}))),e)if(n=e[s],ci.test(n)){if(delete e[s],r=r||"toggle"===n,n===(g?"hide":"show")){if("show"!==n||!m||void 0===m[s])continue;g=!0}p[s]=m&&m[s]||S.style(t,s)}if((l=!S.isEmptyObject(e))||!S.isEmptyObject(p))for(s in d&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(h=m&&m.display)&&(h=re.get(t,"display")),"none"===(c=S.css(t,"display"))&&(h?c=h:(Se([t],!0),h=t.style.display||h,c=S.css(t,"display"),Se([t]))),("inline"===c||"inline-block"===c&&null!=h)&&"none"===S.css(t,"float")&&(l||(u.done((function(){f.display=h})),null==h&&(c=f.display,h="none"===c?"":c)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=re.set(t,"fxshow",{display:h}),r&&(m.hidden=!g),g&&Se([t],!0),u.done((function(){for(s in g||Se([t]),re.remove(t,"fxshow"),p)S.style(t,s,p[s])}))),l=gi(g?m[s]:0,s,u),s in m||(m[s]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?mi.prefilters.unshift(t):mi.prefilters.push(t)}}),S.speed=function(t,e,i){var s=t&&"object"==typeof t?S.extend({},t):{complete:i||e||"function"==typeof t&&t,duration:t,easing:i&&e||e&&"function"!=typeof e&&e};return S.fx.off?s.duration=0:"number"!=typeof s.duration&&(s.duration in S.fx.speeds?s.duration=S.fx.speeds[s.duration]:s.duration=S.fx.speeds._default),null!=s.queue&&!0!==s.queue||(s.queue="fx"),s.old=s.complete,s.complete=function(){"function"==typeof s.old&&s.old.call(this),s.queue&&S.dequeue(this,s.queue)},s},S.fn.extend({fadeTo:function(t,e,i,s){return this.filter(pe).css("opacity",0).show().end().animate({opacity:e},t,i,s)},animate:function(t,e,i,s){var n=S.isEmptyObject(t),r=S.speed(e,i,s),o=function(){var e=mi(this,S.extend({},t),r);(n||re.get(this,"finish"))&&e.stop(!0)};return o.finish=o,n||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(t,e,i){var s=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,n=null!=t&&t+"queueHooks",r=S.timers,o=re.get(this);if(n)o[n]&&o[n].stop&&s(o[n]);else for(n in o)o[n]&&o[n].stop&&di.test(n)&&s(o[n]);for(n=r.length;n--;)r[n].elem!==this||null!=t&&r[n].queue!==t||(r[n].anim.stop(i),e=!1,r.splice(n,1));!e&&i||S.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=re.get(this),s=i[t+"queue"],n=i[t+"queueHooks"],r=S.timers,o=s?s.length:0;for(i.finish=!0,S.queue(this,t,[]),n&&n.stop&&n.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<o;e++)s[e]&&s[e].finish&&s[e].finish.call(this);delete i.finish}))}}),S.each(["toggle","show","hide"],(function(t,e){var i=S.fn[e];S.fn[e]=function(t,s,n){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(fi(e,!0),t,s,n)}})),S.each({slideDown:fi("show"),slideUp:fi("hide"),slideToggle:fi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){S.fn[t]=function(t,i,s){return this.animate(e,t,i,s)}})),S.timers=[],S.fx.tick=function(){var t,e=0,i=S.timers;for(li=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||S.fx.stop(),li=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.start=function(){hi||(hi=!0,ui())},S.fx.stop=function(){hi=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,i){return e=S.fx&&S.fx.speeds[e]||e,i=i||"fx",this.queue(i,(function(i,s){var n=t.setTimeout(i,e);s.stop=function(){t.clearTimeout(n)}}))};var vi=/^(?:input|select|textarea|button)$/i,bi=/^(?:a|area)$/i;function yi(t){return(t.match(Z)||[]).join(" ")}function xi(t){return t.getAttribute&&t.getAttribute("class")||""}function wi(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Z)||[]}S.fn.extend({prop:function(t,e){return K(this,S.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[S.propFix[t]||t]}))}}),S.extend({prop:function(t,e,i){var s,n,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&S.isXMLDoc(t)||(e=S.propFix[e]||e,n=S.propHooks[e]),void 0!==i?n&&"set"in n&&void 0!==(s=n.set(t,i,e))?s:t[e]=i:n&&"get"in n&&null!==(s=n.get(t,e))?s:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttribute("tabindex");return e?parseInt(e,10):vi.test(t.nodeName)||bi.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),T&&(S.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)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(t){var e,i,s,n,r,o;return"function"==typeof t?this.each((function(e){S(this).addClass(t.call(this,e,xi(this)))})):(e=wi(t)).length?this.each((function(){if(s=xi(this),i=1===this.nodeType&&" "+yi(s)+" "){for(r=0;r<e.length;r++)n=e[r],i.indexOf(" "+n+" ")<0&&(i+=n+" ");o=yi(i),s!==o&&this.setAttribute("class",o)}})):this},removeClass:function(t){var e,i,s,n,r,o;
45return"function"==typeof t?this.each((function(e){S(this).removeClass(t.call(this,e,xi(this)))})):arguments.length?(e=wi(t)).length?this.each((function(){if(s=xi(this),i=1===this.nodeType&&" "+yi(s)+" "){for(r=0;r<e.length;r++)for(n=e[r];i.indexOf(" "+n+" ")>-1;)i=i.replace(" "+n+" "," ");o=yi(i),s!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(t,e){var i,s,n,r;return"function"==typeof t?this.each((function(i){S(this).toggleClass(t.call(this,i,xi(this),e),e)})):"boolean"==typeof e?e?this.addClass(t):this.removeClass(t):(i=wi(t)).length?this.each((function(){for(r=S(this),n=0;n<i.length;n++)s=i[n],r.hasClass(s)?r.removeClass(s):r.addClass(s)})):this},hasClass:function(t){var e,i,s=0;for(e=" "+t+" ";i=this[s++];)if(1===i.nodeType&&(" "+yi(xi(i))+" ").indexOf(e)>-1)return!0;return!1}}),S.fn.extend({val:function(t){var e,i,s,n=this[0];return arguments.length?(s="function"==typeof t,this.each((function(i){var n;1===this.nodeType&&(null==(n=s?t.call(this,i,S(this).val()):t)?n="":"number"==typeof n?n+="":Array.isArray(n)&&(n=S.map(n,(function(t){return null==t?"":t+""}))),(e=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,n,"value")||(this.value=n))}))):n?(e=S.valHooks[n.type]||S.valHooks[n.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(n,"value"))?i:(i=n.value)??"":void 0}}),S.extend({valHooks:{select:{get:function(t){var e,i,s,n=t.options,r=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?r+1:n.length;for(s=r<0?l:o?r:0;s<l;s++)if((i=n[s]).selected&&!i.disabled&&(!i.parentNode.disabled||!E(i.parentNode,"optgroup"))){if(e=S(i).val(),o)return e;a.push(e)}return a}
vendor: 17,231 bytes, line 45
45,set:function(t,e){for(var i,s,n=t.options,r=S.makeArray(e),o=n.length;o--;)((s=n[o]).selected=S.inArray(S(s).val(),r)>-1)&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),T&&(S.valHooks.option={get:function(t){var e=t.getAttribute("value");return null!=e?e:yi(S.text(t))}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=S.inArray(S(t).val(),e)>-1}}}));var Si=/^(?:focusinfocus|focusoutblur)$/,Ei=function(t){t.stopPropagation()};S.extend(S.event,{trigger:function(e,i,s,n){var r,o,a,l,h,d,u,p,f=[s||v],m=c.call(e,"type")?e.type:e,b=c.call(e,"namespace")?e.namespace.split("."):[];if(o=p=a=s=s||v,3!==s.nodeType&&8!==s.nodeType&&!Si.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(b=m.split("."),m=b.shift(),b.sort()),h=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=s),i=null==i?[e]:S.makeArray(i,[e]),u=S.event.special[m]||{},n||!u.trigger||!1!==u.trigger.apply(s,i))){if(!n&&!u.noBubble&&!g(s)){for(l=u.delegateType||m,Si.test(l+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(s.ownerDocument||v)&&f.push(a.defaultView||a.parentWindow||t)}for(r=0;(o=f[r++])&&!e.isPropagationStopped();)p=o,e.type=r>1?l:u.bindType||m,(d=(re.get(o,"events")||Object.create(null))[e.type]&&re.get(o,"handle"))&&d.apply(o,i),(d=h&&o[h])&&d.apply&&se(o)&&(e.result=d.apply(o,i),!1===e.result&&e.preventDefault());return e.type=m,n||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),i)||!se(s)||h&&"function"==typeof s[m]&&!g(s)&&((a=s[h])&&(s[h]=null),S.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Ei),s[m](),e.isPropagationStopped()&&p.removeEventListener(m,Ei),S.event.triggered=void 0,a&&(s[h]=a)),e.result}},simulate:function(t,e,i){var s=S.extend(new S.Event,i,{type:t,isSimulated:!0});S.event.trigger(s,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each((function(){S.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return S.event.trigger(t,e,i,!0)}});var Ci=t.location,Ai={guid:Date.now()},Ti=/\?/;S.parseXML=function(e){var i,s;if(!e||"string"!=typeof e)return null;try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}return s=i&&i.getElementsByTagName("parsererror")[0],i&&!s||S.error("Invalid XML: "+(s?S.map(s.childNodes,(function(t){return t.textContent})).join("\n"):e)),i};var ki=/\[\]$/,Mi=/\r?\n/g,Oi=/^(?:submit|button|image|reset|file)$/i,Li=/^(?:input|select|textarea|keygen)/i;function _i(t,e,i,s){var n;if(Array.isArray(e))S.each(e,(function(e,n){i||ki.test(t)?s(t,n):_i(t+"["+("object"==typeof n&&null!=n?e:"")+"]",n,i,s)}));else if(i||"object"!==f(e))s(t,e);else for(n in e)_i(t+"["+n+"]",e[n],i,s)}S.param=function(t,e){var i,s=[],n=function(t,e){var i="function"==typeof e?e():e;s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(i??"")};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,(function(){n(this.name,this.value)}));else for(i in t)_i(i,t[i],e,n);return s.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&Li.test(this.nodeName)&&!Oi.test(t)&&(this.checked||!Be.test(t))})).map((function(t,e){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,(function(t){return{name:e.name,value:t.replace(Mi,"\r\n")}})):{name:e.name,value:i.replace(Mi,"\r\n")}})).get()}});var Pi=/%20/g,Di=/#.*$/,Ii=/([?&])_=[^&]*/,Bi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ni=/^(?:GET|HEAD)$/,zi=/^\/\//,Ri={},Fi={},Hi="*/".concat("*"),Wi=v.createElement("a");function qi(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var s,n=0,r=e.toLowerCase().match(Z)||[];if("function"==typeof i)for(;s=r[n++];)"+"===s[0]?(s=s.slice(1)||"*",(t[s]=t[s]||[]).unshift(i)):(t[s]=t[s]||[]).push(i)}}function $i(t,e,i,s){var n={},r=t===Fi;function o(a){var l;return n[a]=!0,S.each(t[a]||[],(function(t,a){var h=a(e,i,s);return"string"!=typeof h||r||n[h]?r?!(l=h):void 0:(e.dataTypes.unshift(h),o(h),!1)})),l}return o(e.dataTypes[0])||!n["*"]&&o("*")}function ji(t,e){var i,s,n=S.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((n[i]?t:s||(s={}))[i]=e[i]);return s&&S.extend(!0,t,s),t}Wi.href=Ci.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ci.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ci.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hi,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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ji(ji(t,S.ajaxSettings),e):ji(S.ajaxSettings,t)},ajaxPrefilter:qi(Ri),ajaxTransport:qi(Fi),ajax:function(e,i){"object"==typeof e&&(i=e,e=void 0),i=i||{};var s,n,r,o,a,l,h,c,d,u,p=S.ajaxSetup({},i),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?S(f):S.event,m=S.Deferred(),b=S.Callbacks("once memory"),y=p.statusCode||{},x={},w={},E="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(h){if(!o)for(o={};e=Bi.exec(r);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?r:null},setRequestHeader:function(t,e){return null==h&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==h&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||E;return s&&s.abort(e),A(0,e),this}};if(m.promise(C),p.url=((e||p.url||Ci.href)+"").replace(zi,Ci.protocol+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Z)||[""],null==p.crossDomain){l=v.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Wi.protocol+"//"+Wi.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if($i(Ri,p,i,C),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),h)return C;for(d in(c=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ni.test(p.type),n=p.url.replace(Di,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pi,"+")):(u=p.url.slice(n.length),p.data&&(p.processData||"string"==typeof p.data)&&(n+=(Ti.test(n)?"&":"?")+p.data,delete p.data),!1===p.cache&&(n=n.replace(Ii,"$1"),u=(Ti.test(n)?"&":"?")+"_="+Ai.guid+++u),p.url=n+u),p.ifModified&&(S.lastModified[n]&&C.setRequestHeader("If-Modified-Since",S.lastModified[n]),S.etag[n]&&C.setRequestHeader("If-None-Match",S.etag[n])),(p.data&&p.hasContent&&!1!==p.contentType||i.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Hi+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,C,p)||h))return C.abort();if(E="abort",b.add(p.complete),C.done(p.success),C.fail(p.error),s=$i(Fi,p,i,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,p]),h)return C;p.async&&p.timeout>0&&(a=t.setTimeout((function(){C.abort("timeout")}),p.timeout));try{h=!1,s.send(x,A)}catch(t){if(h)throw t;A(-1,t)}}else A(-1,"No Transport");function A(e,i,o,l){var d,u,v,x,w,E=i;h||(h=!0,a&&t.clearTimeout(a),s=void 0,r=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(x=function(t,e,i){for(var s,n,r,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(n in a)if(a[n]&&a[n].test(s)){l.unshift(n);break}if(l[0]in i)r=l[0];else{for(n in i){if(!l[0]||t.converters[n+" "+l[0]]){r=n;break}o||(o=n)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(p,C,o)),!d&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(t,e,i,s){var n,r,o,a,l,h={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)h[o.toLowerCase()]=t.converters[o];for(r=c.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&s&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=h[l+" "+r]||h["* "+r]))for(n in h)if((a=n.split(" "))[1]===r&&(o=h[l+" "+a[0]]||h["* "+a[0]])){!0===o?o=h[n]:!0!==h[n]&&(r=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(p,x,C,d),d?(p.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(S.lastModified[n]=w),(w=C.getResponseHeader("etag"))&&(S.etag[n]=w)),204===e||"HEAD"===p.type?E="nocontent":304===e?E="notmodified":(E=x.state,u=x.data,d=!(v=x.error))):(v=E,!e&&E||(E="error",e<0&&(e=0))),C.status=e,C.statusText=(i||E)+"",d?m.resolveWith(f,[u,E,C]):m.rejectWith(f,[C,E,v]),C.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[C,p,d?u:v]),b.fireWith(f,[C,E]),c&&(g.trigger("ajaxComplete",[C,p]),--S.active||S.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,i){return S.get(t,e,i,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],(function(t,e){S[e]=function(t,i,s,n){return"function"!=typeof i&&null!==i||(n=n||s,s=i,i=void 0),S.ajax(S.extend({url:t,type:e,dataType:n,data:i,success:s},S.isPlainObject(t)&&t))}})),S.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),S._evalUrl=function(t,e,i){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,scriptAttrs:e.crossOrigin?{crossOrigin:e.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(t){S.globalEval(t,e,i)}})},S.fn.extend({wrapAll:function(t){var e;return this[0]&&("function"==typeof t&&(t=t.call(this[0])),e=S(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"function"==typeof t?this.each((function(e){S(this).wrapInner(t.call(this,e))})):this.each((function(){var e=S(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e="function"==typeof t;return this.each((function(i){S(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){return new t.XMLHttpRequest};var Gi={0:200};function Vi(t){return t.scriptAttrs||!t.headers&&(t.crossDomain||t.async&&S.inArray("json",t.dataTypes)<0)}S.ajaxTransport((function(t){var e;return{send:function(i,s){var n,r=t.xhr();if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(n in t.xhrFields)r[n]=t.xhrFields[n];for(n in t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)r.setRequestHeader(n,i[n]);e=function(t){return function(){e&&(e=r.onload=r.onerror=r.onabort=r.ontimeout=null,"abort"===t?r.abort():"error"===t?s(r.status,r.statusText):s(Gi[r.status]||r.status,r.statusText,"text"===(r.responseType||"text")?{text:r.responseText}:{binary:r.response},r.getAllResponseHeaders()))}},r.onload=e(),r.onabort=r.onerror=r.ontimeout=e("error"),e=e("abort");try{r.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),Vi(t)&&(t.type="GET")})),S.ajaxTransport("script",(function(t){var e,i;if(Vi(t))return{send:function(s,n){e=S("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&n("error"===t.type?404:200,t.type)}),v.head.appendChild(e[0])},abort:function(){i&&i()}}}));var Xi=[],Yi=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xi.pop()||S.expando+"_"+Ai.guid++;return this[t]=!0,t}}),S.ajaxPrefilter("jsonp",(function(e,i,s){var n,r,o,a=!1!==e.jsonp&&(Yi.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yi.test(e.data)&&"data");return n=e.jsonpCallback="function"==typeof e.jsonpCallback?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yi,"$1"+n):!1!==e.jsonp&&(e.url+=(Ti.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return o||S.error(n+" was not called"),o[0]},e.dataTypes[0]="json",r=t[n],t[n]=function(){o=arguments},s.always((function(){void 0===r?S(t).removeProp(n):t[n]=r,e[n]&&(e.jsonpCallback=i.jsonpCallback,Xi.push(n)),o&&"function"==typeof r&&r(o[0]),o=r=void 0})),"script"})),S.ajaxPrefilter((function(e,i){"string"==typeof e.data||S.isPlainObject(e.data)||Array.isArray(e.data)||"processData"in i||(e.processData=!1),e.data instanceof t.FormData&&(e.contentType=!1)})),S.parseHTML=function(e,i,s){return"string"==typeof e||Wt(e+"")?("boolean"==typeof i&&(s=i,i=!1),i||(i=(new t.DOMParser).parseFromString("","text/html")),r=!s&&[],(n=Ht.exec(e))?[i.createElement(n[1])]:(n=_e([e],i,r),r&&r.length&&S(r).remove(),S.merge([],n.childNodes))):[];var n,r},S.fn.load=function(t,e,i){var s,n,r,o=this,a=t.indexOf(" ");return a>-1&&(s=yi(t.slice(a)),t=t.slice(0,a)),"function"==typeof e?(i=e,e=void 0):e&&"object"==typeof e&&(n="POST"),o.length>0&&S.ajax({url:t,type:n||"GET",dataType:"html",data:e}).done((function(t){r=arguments,o.html(s?S("<div>").append(S.parseHTML(t)).find(s):t)})).always(i&&function(t,e){o.each((function(){i.apply(this,r||[t.responseText,e,t])}))}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,(function(e){return t===e.elem})).length},S.offset={setOffset:function(t,e,i){var s,n,r,o,a,l,h=S.css(t,"position"),c=S(t),d={};"static"===h&&(t.style.position="relative"),a=c.offset(),r=S.css(t,"top"),l=S.css(t,"left"),("absolute"===h||"fixed"===h)&&(r+l).indexOf("auto")>-1?(o=(s=c.position()).top,n=s.left):(o=parseFloat(r)||0,n=parseFloat(l)||0),"function"==typeof e&&(e=e.call(t,i,S.extend({},a))),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+n),"using"in e?e.using.call(t,d):c.css(d)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){S.offset.setOffset(this,t,e)}));var e,i,s=this[0];return s?s.getClientRects().length?(e=s.getBoundingClientRect(),i=s.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,s=this[0],n={top:0,left:0};if("fixed"===S.css(s,"position"))e=s.getBoundingClientRect();else{for(e=this.offset(),i=s.ownerDocument,t=s.offsetParent||i.documentElement;t&&t!==i.documentElement&&"static"===S.css(t,"position");)t=t.offsetParent||i.documentElement;t&&t!==s&&1===t.nodeType&&"static"!==S.css(t,"position")&&((n=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),n.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-n.top-S.css(s,"marginTop",!0),left:e.left-n.left-S.css(s,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||D}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;S.fn[t]=function(s){return K(this,(function(t,s,n){var r;if(g(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===n)return r?r[e]:t[s];r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):t[s]=n}),t,s,arguments.length)}})),S.each({Height:"height",Width:"width"},(function(t,e){S.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,s){S.fn[s]=function(n,r){var o=arguments.length&&(i||"boolean"!=typeof n),a=i||(!0===n||!0===r?"margin":"border");return K(this,(function(e,i,n){var r;return g(e)?0===s.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===n?S.css(e,i,a):S.style(e,i,n,a)}),e,o?n:void 0,o)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){S.fn[e]=function(t){return this.on(e,t)}}
45)),S.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,s){return this.on(e,t,i,s)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),S.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){S.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}})),S.proxy=function(t,e){var i,s,r;if("string"==typeof e&&(i=t[e],e=t,t=i),"function"==typeof t)return s=n.call(arguments,2),r=function(){return t.apply(e||this,s.concat(n.call(arguments)))},r.guid=t.guid=t.guid||S.guid++,r},S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.expr[":"]=S.expr.filters=S.expr.pseudos,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return S}));var Ui=t.jQuery,Ki=t.$;return S.noConflict=function(e){return t.$===S&&(t.$=Ki),e&&t.jQuery===S&&(t.jQuery=Ui),S},void 0===e&&(t.jQuery=t.$=S),S}(window,!0);const n=s;i.d(e,["A",0,n])}};const e={};function i(s){const n=e[s];if(void 0!==n)return n.exports;const r=e[s]={exports:{}};return t[s].call(r.exports,r,r.exports,i),r.exports}i.n=t=>{const e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{if(Array.isArray(e))for(var s=0;s<e.length;){var n=e[s++],r=e[s++];i.o(t,n)?0===r&&s++:0===r?Object.defineProperty(t,n,{enumerable:!0,value:e[s++]}):Object.defineProperty(t,n,{enumerable:!0,get:r})}else for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.dn=t=>{var e=Object.getOwnPropertyDescriptor(t,"name");(!e||!e.writable&&e.configurable)&&Object.defineProperty(t,"name",{value:"default",configurable:!0})},(()=>{"use strict";var t={};i.r(t),i.d(t,{afterMain:()=>ee,afterRead:()=>Qt,afterWrite:()=>ne,applyStyles:()=>de,arrow:()=>_e,auto:()=>Ht,basePlacements:()=>Wt,beforeMain:()=>Jt,beforeRead:()=>Kt,beforeWrite:()=>ie,bottom:()=>zt,clippingParents:()=>jt,computeStyles:()=>Be,createPopper:()=>di,createPopperBase:()=>ci,createPopperLite:()=>ui,detectOverflow:()=>Ze,end:()=>$t,eventListeners:()=>ze,flip:()=>Qe,hide:()=>ei,left:()=>Ft,main:()=>te,modifierPhases:()=>re,offset:()=>ii,placements:()=>Ut,popper:()=>Vt,popperGenerator:()=>hi,popperOffsets:()=>si,preventOverflow:()=>ni,read:()=>Zt,reference:()=>Xt,right:()=>Rt,start:()=>qt,top:()=>Nt,variationPlacements:()=>Yt,viewport:()=>Gt,write:()=>se});var e={};function s(t=""){return t.trim().split(" ").filter((t=>!!t.trim()))}function n(t,e=0){return setTimeout(t,e)}function r(){return Date.now()}function o(t,e="x"){const i=function(t){return window.getComputedStyle(t,null)}(t),s=i.transform||i.webkitTransform;if(!s||"none"===s)return 0;const n=new DOMMatrixReadOnly(s);return"x"===e?n.m41:n.m42}function a(t){return"object"==typeof t&&null!==t&&t.constructor===Object&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function l(t,...e){const i=Object(t);for(let t=0;t<e.length;t+=1){const n=e[t];if(null==n||(s=n,"undefined"!=typeof HTMLElement&&s instanceof HTMLElement||s&&"object"==typeof s&&(1===s.nodeType||11===s.nodeType)))continue;const r=n,o=Object.keys(Object(r)).filter((t=>"__proto__"!==t&&"constructor"!==t&&"prototype"!==t));for(const t of o){const e=Object.getOwnPropertyDescriptor(r,t);if(!e||!e.enumerable)continue;const s=r[t];a(i[t])&&a(s)?s.__swiper__?i[t]=s:l(i[t],s):!a(i[t])&&a(s)?(i[t]={},s.__swiper__?i[t]=s:l(i[t],s)):i[t]=s}}var s;return i}function h(t,e,i){t.style.setProperty(e,i)}function c(t){const e=t.querySelector(".swiper-slide-transform");if(e)return e;if(t.shadowRoot){const e=t.shadowRoot.querySelector(".swiper-slide-transform");if(e)return e}return t}function d(t,e=""){const i=[...t.children];return t instanceof HTMLSlotElement&&i.push(...t.assignedElements()),e?i.filter((t=>t.matches(e))):i}function u(t){try{console.warn(t)}catch{}}function p(t,e=[]){const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:s(e)),i}function f(t){const e=t.getBoundingClientRect();
vendor: 33,329 bytes, line 45
45return{top:e.top+window.scrollY-(t.clientTop||0),left:e.left+window.scrollX-(t.clientLeft||0)}}function g(t,e){return window.getComputedStyle(t,null).getPropertyValue(e)}function m(t){if(t&&t.parentNode)return[...t.parentNode.children].indexOf(t)}function v(t,e){const i=[];let s=t.parentElement;for(;s;)e&&!s.matches(e)||i.push(s),s=s.parentElement;return i}function b(t,e){e&&t.addEventListener("transitionend",(function(i){i.target===t&&e.call(t,i)}),{once:!0})}function y(t,e,i){{const i=window.getComputedStyle(t,null);return t["width"===e?"offsetWidth":"offsetHeight"]+parseFloat(i.getPropertyValue("width"===e?"margin-right":"margin-top"))+parseFloat(i.getPropertyValue("width"===e?"margin-left":"margin-bottom"))}}function x(t){return(Array.isArray(t)?t:[t]).filter((t=>!!t))}function w(t){return e=>Math.abs(e)>0&&t.browser&&t.browser.need3dFix&&Math.abs(e)%90==0?e+.001:e}function S(t,e=""){const i=globalThis.trustedTypes;t.innerHTML=void 0!==i?i.createPolicy("html",{createHTML:t=>t}).createHTML(e):e}let E,C,A;function T(){return E||(E="undefined"==typeof window?{touch:!1}:{touch:"ontouchstart"in window||navigator.maxTouchPoints>0}),E}function k(t={}){return C||(C=function({userAgent:t}={}){if("undefined"==typeof window)return{ios:!1,android:!1};const e=T(),i=navigator.platform,s=t||navigator.userAgent,n={ios:!1,android:!1},r=/(Android);?[\s/]+([\d.]+)?/.test(s),o=/(iPhone\sOS|iOS|iPod)/.test(s),a=/iPad/.test(s),l="MacIntel"===i&&e.touch&&navigator.maxTouchPoints>1,h=a||l;return r&&!("Win32"===i)&&(n.os="android",n.android=!0),(h||o)&&(n.os="ios",n.ios=!0),n}(t)),C}function M(){return A||(A=function(){if("undefined"==typeof window)return{isSafari:!1,isWebView:!1,need3dFix:!1};const t=k(),e=navigator.userAgent,i=e.toLowerCase(),s=i.includes("safari")&&!i.includes("chrome")&&!i.includes("android"),n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e);return{isSafari:s,isWebView:n,need3dFix:s||n&&t.ios}}()),A}i.r(e),i.d(e,{exclude:()=>lo,extract:()=>io,parse:()=>so,parseUrl:()=>ro,pick:()=>ao,stringify:()=>no,stringifyUrl:()=>oo});const O=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=e.closest(t.isElement?"swiper-slide":`.${t.params.slideClass}`);if(i){let e=i.querySelector(`.${t.params.lazyPreloaderClass}`);!e&&t.isElement&&(i.shadowRoot?e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{if(i.shadowRoot){const e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`);e&&!e.lazyPreloaderManaged&&e.remove()}}))),e&&!e.lazyPreloaderManaged&&e.remove()}},L=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},_=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&(t.params.grid.rows??1)>1){const i=n,r=[i-e];return r.push(...Array.from({length:e}).map(((t,e)=>i+s+e))),void t.slides.forEach(((e,i)=>{void 0!==e.column&&r.includes(e.column)&&L(t,i)}))}const r=n+s-1;if(t.params.rewind||t.params.loop)for(let s=n-e;s<=r+e;s+=1){const e=(s%i+i)%i;(e<n||e>r)&&L(t,e)}else for(let s=Math.max(n-e,0);s<=Math.min(r+e,i-1);s+=1)s!==n&&(s>r||s<n)&&L(t,s)};const P=(t,e)=>!!(t.grid&&e.grid&&e.grid.rows>1);var D={setBreakpoint:function(){const t=this,{realIndex:e,initialized:i,params:s,el:n}=t,r=s.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o="window"!==s.breakpointsBase&&s.breakpointsBase?"container":s.breakpointsBase,a=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?t.el:document.querySelector(s.breakpointsBase),h=t.getBreakpoint(r,o,a);if(!h||t.currentBreakpoint===h)return;const c=(h in r?r[h]:void 0)||t.originalParams,d=P(t,s),u=P(t,c),p=t.params.grabCursor,f=c.grabCursor,g=s.enabled;d&&!u?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!d&&u&&(n.classList.add(`${s.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===s.grid.fill)&&n.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!f?t.unsetGrabCursor():!p&&f&&t.setGrabCursor();const m=(t,e)=>t[e];["navigation","pagination","scrollbar"].forEach((e=>{const i=m(c,e);if(void 0===i)return;const n=m(s,e),r="object"==typeof n&&null!==n&&n.enabled,o="object"==typeof i&&null!==i&&i.enabled,a=t[e];r&&!o&&a?.disable?.(),!r&&o&&a?.enable?.()}));const v=c.direction&&c.direction!==s.direction,b=s.loop&&(c.slidesPerView!==s.slidesPerView||v),y=s.loop;v&&i&&t.changeDirection(),l(t.params,c);const x=t.params.enabled,w=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),g&&!x?t.disable():!g&&x&&t.enable(),t.currentBreakpoint=h,t.emit("_beforeBreakpoint",c),i&&(b?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&w?(t.loopCreate(e),t.updateSlides()):y&&!w&&t.loopDestroy()),t.emit("breakpoint",c)},getBreakpoint:function(t,e="window",i){if(!t||"container"===e&&!i)return;let s=!1;const n="window"===e?window.innerHeight:i.clientHeight,r=Object.keys(t).map((t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:n*e,point:t}}return{value:t,point:t}}));r.sort(((t,e)=>parseInt(String(t.value),10)-parseInt(String(e.value),10)));for(let t=0;t<r.length;t+=1){const{point:n,value:o}=r[t];"window"===e?window.matchMedia(`(min-width: ${o}px)`).matches&&(s=n):o<=i.clientWidth&&(s=n)}return s||"max"}};const I={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};var B={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const n=i?"unshift":"push";return t.split(" ").forEach((t=>{s.eventsListeners[t]||(s.eventsListeners[t]=[]),s.eventsListeners[t][n](e)})),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const n=function(...i){s.off(t,n),n.__emitterProxy&&delete n.__emitterProxy,e.apply(s,i)};return n.__emitterProxy=e,s.on(t,n,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const s=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[s](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(t.split(" ").forEach((t=>{void 0===e?i.eventsListeners[t]=[]:i.eventsListeners[t]&&i.eventsListeners[t].forEach(((s,n)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&i.eventsListeners[t].splice(n,1)}))})),i):i},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let i,s,n;if("string"==typeof t[0]||Array.isArray(t[0]))i=t[0],s=t.slice(1,t.length),n=e;else{const r=t[0];i=r.events,s=r.data??[],n=r.context||e}s.unshift(n);return(Array.isArray(i)?i:i.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((t=>{t.apply(n,s)}))})),e}};function N(t){const e=this;e.destroyed||e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function z(){const t=this;t.destroyed||t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}function R(t){const e=this;e.destroyed||(O(e,t.target),e.params.cssMode||"auto"!==e.params.slidesPerView&&!e.params.autoHeight||e.update())}function F(){const t=this,{params:e,el:i}=t;if(i&&0===i.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=t,o=t.virtual&&t.params.virtual?.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=o&&e.loop;if(!("auto"===e.slidesPerView||e.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||a)t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0);else{const e=o?t.virtual.slides.length:t.slides.length;t.slideTo(e-1,0,!1,!0)}if(t.autoplay&&t.autoplay.running&&t.autoplay.paused){const e=t.autoplay;clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout((()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()}),500)}t.allowSlidePrev=n,t.allowSlideNext=s,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function H(){const t=this;if(t.destroyed)return;const{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;let n;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const r=t.maxTranslate()-t.minTranslate();n=0===r?0:(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function W(t){const e=this;if(e.destroyed)return;const i=e.touchEventsData;let s=t.originalEvent??t;if("touchend"===s.type||"touchcancel"===s.type){const t=[...s.changedTouches].find((t=>t.identifier===i.touchId));if(!t||t.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(s.pointerId!==i.pointerId)return}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)){if(!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:h,enabled:c}=e;if(!c)return;if(!o.simulateTouch&&"mouse"===s.pointerType)return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&o.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);o.grabCursor&&i.isMoved&&i.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const d=r(),u=d-i.touchStartTime;if(e.allowClick){const t=s.path??(s.composedPath&&s.composedPath());e.updateClickedSlide(t&&t[0],t),e.emit("tap click",s),u<300&&d-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=r(),n((()=>{e.destroyed||(e.allowClick=!0)})),!i.isTouched||!i.isMoved||!e.swipeDirection||0===a.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let p;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=o.followFinger?l?e.translate:-e.translate:-(i.currentTranslate??0),o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:p});const f=p>=-e.maxTranslate()&&!e.params.loop;let g=0,m=e.slidesSizesGrid[0];for(let t=0;t<h.length;t+=t<o.slidesPerGroupSkip?1:o.slidesPerGroup){const e=t<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==h[t+e]?(f||p>=h[t]&&p<h[t+e])&&(g=t,m=h[t+e]-h[t]):(f||p>=h[t])&&(g=t,m=h[h.length-1]-h[h.length-2])}let v=null,b=null;o.rewind&&(e.isBeginning?b=o.virtual?.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));const y=(p-h[g])/m,x=g<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(u>o.longSwipesMs){if(!o.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(y>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?v:g+x):e.slideTo(g)),"prev"===e.swipeDirection&&(y>1-o.longSwipesRatio?e.slideTo(g+x):null!==b&&y<0&&Math.abs(y)>o.longSwipesRatio?e.slideTo(b):e.slideTo(g))}else{if(!o.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(g+x):e.slideTo(g):("next"===e.swipeDirection&&e.slideTo(null!==v?v:g+x),"prev"===e.swipeDirection&&e.slideTo(null!==b?b:g))}}function q(t){const e=this;if(e.destroyed)return;const i=e.touchEventsData,{params:s,touches:n,rtlTranslate:o,enabled:a}=e;if(!a)return;if(!s.simulateTouch&&"mouse"===t.pointerType)return;const l=t,h=l.originalEvent??l;if("pointermove"===h.type){if(null!==i.touchId)return;if(h.pointerId!==i.pointerId)return}let c;if("touchmove"===h.type){const t=[...h.changedTouches].find((t=>t.identifier===i.touchId));if(!t||t.identifier!==i.touchId)return;c=t}else c=h;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&e.emit("touchMoveOpposite",h));const d=c.pageX,u=c.pageY;if(h.preventedByNestedSwiper)return n.startX=d,void(n.startY=u);if(!e.allowTouchMove)return h.target.matches(i.focusableElements)||(e.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=r()));if(s.touchReleaseOnEdges&&!s.loop)if(e.isVertical()){if(u<n.startY&&e.translate<=e.maxTranslate()||u>n.startY&&e.translate>=e.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(d>n.startX&&-e.translate<=e.maxTranslate()||d<n.startX&&-e.translate>=e.minTranslate()))return;if(!o&&(d<n.startX&&e.translate<=e.maxTranslate()||d>n.startX&&e.translate>=e.minTranslate()))return}if(document.activeElement&&document.activeElement.matches(i.focusableElements)&&document.activeElement!==h.target&&"mouse"!==h.pointerType&&document.activeElement.blur(),document.activeElement&&h.target===document.activeElement&&h.target.matches(i.focusableElements))return i.isMoved=!0,void(e.allowClick=!1);i.allowTouchCallbacks&&e.emit("touchMove",h),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=d,n.currentY=u;const p=n.currentX-n.startX,f=n.currentY-n.startY;if(e.params.threshold&&Math.sqrt(p**2+f**2)<e.params.threshold)return;if(void 0===i.isScrolling){let t;e.isHorizontal()&&n.currentY===n.startY||e.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:p*p+f*f>=25&&(t=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=e.isHorizontal()?t>s.touchAngle:90-t>s.touchAngle)}if(i.isScrolling&&e.emit("touchMoveOpposite",h),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===h.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;e.allowClick=!1,!s.cssMode&&h.cancelable&&h.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&h.stopPropagation();let g=e.isHorizontal()?p:f,m=e.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;s.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),n.diff=g,g*=s.touchRatio,o&&(g=-g,m=-m);const v=e.touchesDirection;e.swipeDirection=g>0?"prev":"next",e.touchesDirection=m>0?"prev":"next";const b=e.params.loop&&!s.cssMode,y="next"===e.touchesDirection&&e.allowSlideNext||"prev"===e.touchesDirection&&e.allowSlidePrev;if(!i.isMoved){if(b&&y&&e.loopFix({direction:e.swipeDirection}),i.startTranslate=e.getTranslate(),e.setTransition(0),e.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});e.wrapperEl.dispatchEvent(t)}i.allowMomentumBounce=!1,!s.grabCursor||!0!==e.allowSlideNext&&!0!==e.allowSlidePrev||e.setGrabCursor(!0),e.emit("sliderFirstMove",h)}if((new Date).getTime(),!1!==s._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&v!==e.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(n,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);e.emit("sliderMove",h),i.isMoved=!0;const x=i.startTranslate??0;i.currentTranslate=g+x;let w=!0,S=s.resistanceRatio;if(s.touchReleaseOnEdges&&(S=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(s.centeredSlides?e.minTranslate()-e.slidesSizesGrid[e.activeIndex+1]-("auto"!==s.slidesPerView&&e.slides.length-s.slidesPerView>=2?e.slidesSizesGrid[e.activeIndex+1]+e.params.spaceBetween:0)-e.params.spaceBetween:e.minTranslate())&&e.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>e.minTranslate()&&(w=!1,s.resistance&&(i.currentTranslate=e.minTranslate()-1+(-e.minTranslate()+x+g)**S))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(s.centeredSlides?e.maxTranslate()+e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween+("auto"!==s.slidesPerView&&e.slides.length-s.slidesPerView>=2?e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween:0):e.maxTranslate())&&e.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:e.slides.length-("auto"===s.slidesPerView?e.slidesPerViewDynamic():Math.ceil(parseFloat(String(s.slidesPerView))))}),i.currentTranslate<e.maxTranslate()&&(w=!1,s.resistance&&(i.currentTranslate=e.maxTranslate()+1-(e.maxTranslate()-x-g)**S))),w&&(h.preventedByNestedSwiper=!0),!e.allowSlideNext&&"next"===e.swipeDirection&&(i.currentTranslate??0)<x&&(i.currentTranslate=x),!e.allowSlidePrev&&"prev"===e.swipeDirection&&(i.currentTranslate??0)>x&&(i.currentTranslate=x),e.allowSlidePrev||e.allowSlideNext||(i.currentTranslate=x),s.threshold>0){if(!(Math.abs(g)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=e.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&e.freeMode||s.watchSlidesProgress)&&(e.updateActiveIndex(),e.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.freeMode.onTouchMove(),e.updateProgress(i.currentTranslate),e.setTranslate(i.currentTranslate??0))}function $(t,e,i){const{params:s}=t,n=s.edgeSwipeDetection,r=s.edgeSwipeThreshold;return!n||!(i<=r||i>=window.innerWidth-r)||"prevent"===n&&(e.preventDefault(),!0)}function j(t){const e=this;if(e.destroyed)return;const i=t.originalEvent??t,s=e.touchEventsData;if("pointerdown"===i.type){const t=i;if(null!==s.pointerId&&s.pointerId!==t.pointerId)return;s.pointerId=t.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(s.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void $(e,i,i.targetTouches[0].pageX);const{params:n,touches:o,enabled:a}=e;if(!a)return;if(!n.simulateTouch&&"mouse"===i.pointerType)return;if(e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let l=i.target;if("wrapper"===n.touchEventsTarget&&!function(t,e){let i=e.contains(t);!i&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(t),i||(i=function(t,e){const i=[e];for(;i.length>0;){const e=i.shift();if(t===e)return!0;i.push(...e.children,...e.shadowRoot?e.shadowRoot.children:[],...e.assignedElements?e.assignedElements():[])}return!1}(t,e)));return i}(l,e.wrapperEl))return;const h=i;if("number"==typeof h.which&&3===h.which)return;if("number"==typeof h.button&&h.button>0)return;if(s.isTouched&&s.isMoved)return;const c=!!n.noSwipingClass&&""!==n.noSwipingClass,d=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&d&&(l=d[0]);const u=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,p=!(!i.target||!i.target.shadowRoot);if(n.noSwiping&&(p?(f=u,function t(e){if(!e||e===document||e===window)return null;let i=e;i.assignedSlot&&(i=i.assignedSlot);const s=i.closest(f);if(!s&&!i.getRootNode)return null;const n=i.getRootNode();return s||t(n.host)}(l)):l.closest(u)))return void(e.allowClick=!0);var f;if(n.swipeHandler&&"string"==typeof n.swipeHandler&&!l.closest(n.swipeHandler))return;const g=i;o.currentX=g.pageX,o.currentY=g.pageY;const m=o.currentX,v=o.currentY;if(!$(e,i,m))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=v,s.touchStartTime=r(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(s.allowThresholdMove=!1);let b=!0;l.matches(s.focusableElements)&&(b=!1,"SELECT"===l.nodeName&&(s.isTouched=!1)),document.activeElement&&document.activeElement.matches(s.focusableElements)&&document.activeElement!==l&&("mouse"===g.pointerType||"mouse"!==g.pointerType&&!l.matches(s.focusableElements))&&document.activeElement.blur();const y=b&&e.allowTouchMove&&n.touchStartPreventDefault;!n.touchStartForcePreventDefault&&!y||l.isContentEditable||i.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}const G=(t,e)=>{const{params:i,el:s,wrapperEl:n,device:r}=t,o=!!i.nested,a="on"===e?"addEventListener":"removeEventListener",l=e;if(!s||"string"==typeof s)return;document[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),s[a]("touchstart",t.onTouchStart,{passive:!1}),s[a]("pointerdown",t.onTouchStart,{passive:!1}),document[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),document[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),document[a]("touchend",t.onTouchEnd,{passive:!0}),document[a]("pointerup",t.onTouchEnd,{passive:!0}),document[a]("pointercancel",t.onTouchEnd,{passive:!0}),document[a]("touchcancel",t.onTouchEnd,{passive:!0}),document[a]("pointerout",t.onTouchEnd,{passive:!0}),document[a]("pointerleave",t.onTouchEnd,{passive:!0}),document[a]("contextmenu",t.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&s[a]("click",t.onClick,!0),i.cssMode&&n[a]("scroll",t.onScroll);const h=e=>{t[l](e,F,!0)};i.updateOnWindowResize?h(r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate"):h("observerUpdate"),s[a]("load",t.onLoad,{capture:!0})};var V={loopCreate:function(t,e){const i=this,{params:s,slidesEl:n}=i;if(!s.loop||i.virtual&&i.params.virtual?.enabled)return;const r=()=>{d(n,`.${s.slideClass}, swiper-slide`).forEach(((t,e)=>{t.setAttribute("data-swiper-slide-index",String(e))}))},o=i.grid&&s.grid&&s.grid.rows>1;s.loopAddBlankSlides&&(s.slidesPerGroup>1||o)&&(()=>{const t=d(n,`.${s.slideBlankClass}`);t.forEach((t=>{t.remove()})),t.length>0&&(i.recalcSlides(),i.updateSlides())})();const a=s.slidesPerGroup*(o?s.grid.rows:1),l=i.slides.length%a!=0,h=o&&i.slides.length%s.grid.rows!=0,c=t=>{for(let e=0;e<t;e+=1){const t=i.isElement?p("swiper-slide",[s.slideBlankClass]):p("div",[s.slideClass,s.slideBlankClass]);i.slidesEl.append(t)}};if(l){if(s.loopAddBlankSlides){c(a-i.slides.length%a),i.recalcSlides(),i.updateSlides()}else u("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(h){if(s.loopAddBlankSlides){c(s.grid.rows-i.slides.length%s.grid.rows),i.recalcSlides(),i.updateSlides()}else u("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();const f=s.centeredSlides||!!s.slidesOffsetBefore||!!s.slidesOffsetAfter;i.loopFix({slideRealIndex:t,direction:f?void 0:"next",initial:e})},loopFix:function(t={}){const{slideRealIndex:e,slideTo:i=!0,direction:s,setTranslate:n,activeSlideIndex:r,initial:o,byController:a,byMousewheel:l}=t;let h=r;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:d,allowSlidePrev:p,allowSlideNext:f,slidesEl:g,params:m}=c,{centeredSlides:v,slidesOffsetBefore:b,slidesOffsetAfter:y,initialSlide:x}=m,w=v||!!b||!!y;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&m.virtual?.enabled){if(i){const t=c.virtual.slides.length,e=c.virtual.slidesBefore??0;w||0!==c.snapIndex?w&&c.snapIndex<m.slidesPerView?c.slideTo(t+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(e,0,!1,!0):c.slideTo(t,0,!1,!0)}return c.allowSlidePrev=p,c.allowSlideNext=f,void c.emit("loopFix")}let S=m.slidesPerView;"auto"===S?S=c.slidesPerViewDynamic():(S=Math.ceil(parseFloat(String(m.slidesPerView))),w&&S%2==0&&(S+=1));const E=m.slidesPerGroupAuto?S:m.slidesPerGroup;let C=w?Math.max(E,Math.ceil(S/2)):E;C%E!=0&&(C+=E-C%E),C+=m.loopAdditionalSlides,c.loopedSlides=C;const A=c.grid&&m.grid&&m.grid.rows>1;d.length<S+C||"cards"===c.params.effect&&d.length<S+2*C?u("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):A&&"row"===m.grid.fill&&u("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const T=[],k=[],M=A?Math.ceil(d.length/m.grid.rows):d.length,O=o&&M-x<S&&!w;let L=O?x:c.activeIndex;void 0===h?h=c.getSlideIndex(d.find((t=>t.classList.contains(m.slideActiveClass)))):L=h;const _="next"===s||!s,P="prev"===s||!s;let D=0,I=0;const B=(A?d[h].column??0:h)+(w&&void 0===n?-S/2+.5:0);if(B<C){D=Math.max(C-B,E);for(let t=0;t<C-B;t+=1){const e=t-Math.floor(t/M)*M;if(A){const t=M-e-1;for(let e=d.length-1;e>=0;e-=1)d[e].column===t&&T.push(e)}else T.push(M-e-1)}}else if(B+S>M-C){I=Math.max(B-(M-2*C),E),O&&(I=Math.max(I,S-M+x+1));for(let t=0;t<I;t+=1){const e=t-Math.floor(t/M)*M;A?d.forEach(((t,i)=>{t.column===e&&k.push(i)})):k.push(e)}}if(c.__preventObserver__=!0,requestAnimationFrame((()=>{c.__preventObserver__=!1})),"cards"===c.params.effect&&d.length<S+2*C&&(k.includes(h)&&k.splice(k.indexOf(h),1),T.includes(h)&&T.splice(T.indexOf(h),1)),P&&T.forEach((t=>{const e=d[t];e.swiperLoopMoveDOM=!0,g.prepend(e),e.swiperLoopMoveDOM=!1})),_&&k.forEach((t=>{const e=d[t];e.swiperLoopMoveDOM=!0,g.append(e),e.swiperLoopMoveDOM=!1})),c.recalcSlides(),"auto"===m.slidesPerView?c.updateSlides():A&&(T.length>0&&P||k.length>0&&_)&&c.slides.forEach(((t,e)=>{c.grid.updateSlide(e,t,c.slides)})),m.watchSlidesProgress&&c.updateSlidesOffset(),i)if(T.length>0&&P){if(void 0===e){const t=c.slidesGrid[L],e=c.slidesGrid[L+D]-t;l?c.setTranslate(c.translate-e):(c.slideTo(L+Math.ceil(D),0,!1,!0),n&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-e,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-e))}else if(n){const t=A?T.length/m.grid.rows:T.length;c.slideTo(c.activeIndex+t,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(k.length>0&&_)if(void 0===e){const t=c.slidesGrid[L],e=c.slidesGrid[L-I]-t;l?c.setTranslate(c.translate-e):(c.slideTo(L-I,0,!1,!0),n&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-e,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-e))}else{const t=A?k.length/m.grid.rows:k.length;c.slideTo(c.activeIndex-t,0,!1,!0)}c.allowSlidePrev=p,c.allowSlideNext=f;const N=c.controller?.control;if(N&&!a){const t={slideRealIndex:e,direction:s,setTranslate:n,activeSlideIndex:h,byController:!0};Array.isArray(N)?N.forEach((e=>{!e.destroyed&&e.params.loop&&e.loopFix({...t,slideTo:e.params.slidesPerView===m.slidesPerView&&i})})):N instanceof c.constructor&&N.params.loop&&N.loopFix({...t,slideTo:N.params.slidesPerView===m.slidesPerView&&i})}c.emit("loopFix")},loopDestroy:function(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||!i||t.virtual&&t.params.virtual?.enabled)return;t.recalcSlides();const s=[];t.slides.forEach((t=>{const e=t,i=void 0===e.swiperSlideIndex?Number(t.getAttribute("data-swiper-slide-index")):e.swiperSlideIndex;s[i]=t})),t.slides.forEach((t=>{t.removeAttribute("data-swiper-slide-index")})),s.forEach((t=>{i.append(t)})),t.recalcSlides(),t.slideTo(t.realIndex,0)}};function X(t,e){return function(i={}){const s=Object.keys(i)[0],n=i[s];"object"==typeof n&&null!==n?(!0===t[s]&&(t[s]={enabled:!0}),"navigation"===s&&t[s]&&t[s].enabled&&!t[s].prevEl&&!t[s].nextEl&&(t[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&t[s]&&t[s].enabled&&!t[s].el&&(t[s].auto=!0),s in t&&"enabled"in n?("object"!=typeof t[s]||"enabled"in t[s]||(t[s].enabled=!0),t[s]||(t[s]={enabled:!1}),l(e,i)):l(e,i)):l(e,i)}}var Y={slideTo:function(t=0,e,i=!0,s,n){"string"==typeof t&&(t=parseInt(t,10));const r=this;let o=t;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:h,previousIndex:c,activeIndex:d,rtlTranslate:u,wrapperEl:p,enabled:f}=r;if(!f&&!s&&!n||r.destroyed||r.animating&&a.preventInteractionOnTransition)return!1;void 0===e&&(e=r.params.speed);const g=Math.min(r.params.slidesPerGroupSkip,o);let m=g+Math.floor((o-g)/r.params.slidesPerGroup);m>=l.length&&(m=l.length-1);const v=-l[m];if(a.normalizeSlideIndex)for(let t=0;t<h.length;t+=1){const e=-Math.floor(100*v),i=Math.floor(100*h[t]),s=Math.floor(100*h[t+1]);void 0!==h[t+1]?e>=i&&e<s-(s-i)/2?o=t:e>=i&&e<s&&(o=t+1):e>=i&&(o=t)}if(r.initialized&&o!==d){if(!r.allowSlideNext&&(u?v>r.translate&&v>r.minTranslate():v<r.translate&&v<r.minTranslate()))return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(d||0)!==o)return!1}let b;o!==(c||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),b=o>d?"next":o<d?"prev":"reset";const y=r.virtual&&r.params.virtual?.enabled;if(!(y&&n)&&(u&&-v===r.translate||!u&&v===r.translate))return r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(v),"reset"!==b&&(r.transitionStart(i,b),r.transitionEnd(i,b)),!1;if(a.cssMode){const t=r.isHorizontal(),i=u?v:-v;return 0===e?(y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&(r.params.initialSlide??0)>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{p[t?"scrollLeft":"scrollTop"]=i}))):p[t?"scrollLeft":"scrollTop"]=i,y&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}))):p.scrollTo({[t?"left":"top"]:i,behavior:"smooth"}),!0}const x=M().isSafari;return y&&!n&&x&&r.isElement&&r.virtual.update(!1,!1,o),r.setTransition(e),r.setTranslate(v),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,s),r.transitionStart(i,b),0===e?r.transitionEnd(i,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t=0,e,i=!0,s){if("string"==typeof t){t=parseInt(t,10)}const n=this;if(n.destroyed)return;void 0===e&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let o=t;if(n.params.loop)if(n.virtual&&n.params.virtual?.enabled)o+=n.virtual.slidesBefore??0;else{let t;if(r){const e=o*n.params.grid.rows;t=n.slides.find((t=>Number(t.getAttribute("data-swiper-slide-index"))===e))?.column??0}else t=n.getSlideIndexByData(o);const e=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:i,slidesOffsetBefore:a,slidesOffsetAfter:l}=n.params,h=i||!!a||!!l;let c;"auto"===n.params.slidesPerView?c=n.slidesPerViewDynamic():(c=Math.ceil(parseFloat(String(n.params.slidesPerView))),h&&c%2==0&&(c+=1));let d=e-t<c;if(h&&(d=d||t<Math.ceil(c/2)),s&&h&&"auto"!==n.params.slidesPerView&&!r&&(d=!1),d){const i=h?t<n.activeIndex?"prev":"next":t-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?t+1:t-e+1,slideRealIndex:"next"===i?n.realIndex:void 0})}if(r){const t=o*n.params.grid.rows,e=n.slides.find((e=>Number(e.getAttribute("data-swiper-slide-index"))===t));o=e?.column??0}
vendor: 4,874 bytes, line 45
45else o=n.getSlideIndexByData(o)}return requestAnimationFrame((()=>{n.slideTo(o,e,i,s)})),n},slideNext:function(t,e=!0,i){const s=this,{enabled:n,params:r,animating:o}=s;if(!n||s.destroyed)return s;void 0===t&&(t=s.params.speed);let a=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(a=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndex<r.slidesPerGroupSkip?1:a,h=s.virtual&&r.virtual?.enabled;if(r.loop){if(o&&!h&&r.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&r.cssMode)return requestAnimationFrame((()=>{s.slideTo(s.activeIndex+l,t,e,i)})),!0}return r.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+l,t,e,i)},slidePrev:function(t,e=!0,i){const s=this,{params:n,snapGrid:r,slidesGrid:o,rtlTranslate:a,enabled:l,animating:h}=s;if(!l||s.destroyed)return s;void 0===t&&(t=s.params.speed);const c=s.virtual&&n.virtual?.enabled;if(n.loop){if(h&&!c&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}function d(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const u=d(a?s.translate:-s.translate),p=r.map((t=>d(t))),f=n.freeMode&&n.freeMode.enabled;let g=r[p.indexOf(u)-1];if(void 0===g&&(n.cssMode||f)){let t;r.forEach(((e,i)=>{u>=e&&(t=i)})),void 0!==t&&(g=f?r[t]:r[t>0?t-1:t])}let m=0;if(void 0!==g&&(m=o.indexOf(g),m<0&&(m=s.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(m=m-s.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),n.rewind&&s.isBeginning){const n=s.params.virtual?.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(n,t,e,i)}return n.loop&&0===s.activeIndex&&n.cssMode?(requestAnimationFrame((()=>{s.slideTo(m,t,e,i)})),!0):s.slideTo(m,t,e,i)},slideReset:function(t,e=!0,i){const s=this;if(!s.destroyed)return void 0===t&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)},slideToClosest:function(t,e=!0,i,s=.5){const n=this;if(n.destroyed)return;void 0===t&&(t=n.params.speed);let r=n.activeIndex;const o=Math.min(n.params.slidesPerGroupSkip,r),a=o+Math.floor((r-o)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[a]){const t=n.snapGrid[a];l-t>(n.snapGrid[a+1]-t)*s&&(r+=n.params.slidesPerGroup)}else{const t=n.snapGrid[a-1];l-t<=(n.snapGrid[a]-t)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,i)},slideToClickedSlide:function(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i,clickedSlide:s,clickedIndex:r}=t;if(void 0===s||void 0===r)return;const o="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let a,l=t.getSlideIndexWhenGrid(r);const h=t.isElement?"swiper-slide":`.${e.slideClass}`,c=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;a=parseInt(s.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(a):l>(c?(t.slides.length-o)/2-(t.params.grid.rows-1):t.slides.length-o)?(t.loopFix(),l=t.getSlideIndex(d(i,`${h}[data-swiper-slide-index="${a}"]`)[0]),n((()=>{t.slideTo(l)}))):t.slideTo(l)}else t.slideTo(l)}};function U({swiper:t,runCallbacks:e,direction:i,step:s}){const{activeIndex:n,previousIndex:r}=t;let o=i;o||(o=n>r?"next":n<r?"prev":"reset"),t.emit(`transition${s}`),e&&"reset"===o?t.emit(`slideResetTransition${s}`):e&&n!==r&&(t.emit(`slideChangeTransition${s}`),"next"===o?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`))}var K={getTranslate:function(t=(this.isHorizontal()?"x":"y")){const{params:e,rtlTranslate:i,translate:s,wrapperEl:n}=this;if(e.virtualTranslate)return i?-s:s;if(e.cssMode)return s;let r=o(n,t);return r+=this.cssOverflowAdjustment(),i&&(r=-r),r||0},setTranslate:function(t,e){const i=this,{rtlTranslate:s,params:n,wrapperEl:r,progress:o}=i;let a,l=0,h=0;i.isHorizontal()?l=s?-t:t:h=t,n.roundLengths&&(l=Math.floor(l),h=Math.floor(h)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:h,n.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-h:n.virtualTranslate||(i.isHorizontal()?l-=i.cssOverflowAdjustment():h-=i.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${h}px, 0px)`);const c=i.maxTranslate()-i.minTranslate();a=0===c?0:(t-i.minTranslate())/c,a!==o&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t=0,e=this.params.speed,i=!0,s=!0,n){const r=this,{params:o,wrapperEl:a}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const l=r.minTranslate(),h=r.maxTranslate();let c;if(c=s&&t>l?l:s&&t<h?h:t,r.updateProgress(c),o.cssMode){const t=r.isHorizontal();return 0===e?a[t?"scrollLeft":"scrollTop"]=-c:a.scrollTo({[t?"left"
vendor: 11,928 bytes, line 45
45:"top"]:-c,behavior:"smooth"}),!0}return 0===e?(r.setTransition(0),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),i&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,i&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};const Z=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};const Q=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};var J={updateSize:function(){const t=this;let e,i;const s=t.el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:s.clientWidth,i=void 0!==t.params.height&&null!==t.params.height?t.params.height:s.clientHeight,0===e&&t.isHorizontal()||0===i&&t.isVertical()||(e=e-parseInt(g(s,"padding-left")||"0",10)-parseInt(g(s,"padding-right")||"0",10),i=i-parseInt(g(s,"padding-top")||"0",10)-parseInt(g(s,"padding-bottom")||"0",10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))},updateSlides:function(){const t=this;function e(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||"0")}const i=t.params,{wrapperEl:s,slidesEl:n,rtlTranslate:r,wrongRTL:o}=t,a=!(!t.virtual||!i.virtual?.enabled),l=a?t.virtual.slides.length:t.slides.length,c=d(n,`.${t.params.slideClass}, swiper-slide`),u=a?t.virtual.slides.length:c.length;let p=[];const f=[],m=[],v=e=>"function"==typeof e?e.call(t):e,b=v(i.slidesOffsetBefore),x=v(i.slidesOffsetAfter),w=t.snapGrid.length,S=t.slidesGrid.length,E=t.size-b-x;let C=i.spaceBetween,A=-b,T=0,k=0;if(void 0===E)return;"string"==typeof C&&C.indexOf("%")>=0?C=parseFloat(C.replace("%",""))/100*E:"string"==typeof C&&(C=parseFloat(C)),t.virtualSize=-C-b-x,c.forEach((t=>{r?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""})),i.centeredSlides&&i.cssMode&&(h(s,"--swiper-centered-offset-before",""),h(s,"--swiper-centered-offset-after","")),i.cssMode&&(h(s,"--swiper-slides-offset-before",`${b}px`),h(s,"--swiper-slides-offset-after",`${x}px`));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let O=0;const L="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((t=>void 0!==i.breakpoints[t]?.slidesPerView)).length>0;for(let s=0;s<u;s+=1){O=0;const n=c[s];if(!n||(M&&t.grid.updateSlide(s,n,c),"none"!==g(n,"display"))){if(a&&"auto"===i.slidesPerView)i.virtual?.slidesPerViewAutoSlideSize&&(O=i.virtual.slidesPerViewAutoSlideSize),O&&n&&(i.roundLengths&&(O=Math.floor(O)),n.style[t.getDirectionLabel("width")]=`${O}px`);else if("auto"===i.slidesPerView){L&&(n.style[t.getDirectionLabel("width")]="");const s=getComputedStyle(n),r=n.style.transform,o=n.style.webkitTransform;if(r&&(n.style.transform="none"),o&&(n.style.webkitTransform="none"),i.roundLengths)O=t.isHorizontal()?y(n,"width"):y(n,"height");else{const t=e(s,"width"),i=e(s,"padding-left"),r=e(s,"padding-right"),o=e(s,"margin-left"),a=e(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)O=t+o+a;else{const{clientWidth:e,offsetWidth:s}=n;O=t+i+r+o+a+(s-e)}}r&&(n.style.transform=r),o&&(n.style.webkitTransform=o),i.roundLengths&&(O=Math.floor(O))}else O=(E-(i.slidesPerView-1)*C)/i.slidesPerView,i.roundLengths&&(O=Math.floor(O)),n&&(n.style[t.getDirectionLabel("width")]=`${O}px`);n&&(n.swiperSlideSize=O),m.push(O),i.centeredSlides?(A=A+O/2+T/2+C,0===T&&0!==s&&(A=A-E/2-C),0===s&&(A=A-E/2-C),Math.abs(A)<.001&&(A=0),i.roundLengths&&(A=Math.floor(A)),k%i.slidesPerGroup==0&&p.push(A),f.push(A)):(i.roundLengths&&(A=Math.floor(A)),(k-Math.min(t.params.slidesPerGroupSkip,k))%t.params.slidesPerGroup==0&&p.push(A),f.push(A),A=A+O+C),t.virtualSize+=O+C,T=O,k+=1}}if(t.virtualSize=Math.max(t.virtualSize,E)+x,r&&o&&("slide"===i.effect||"coverflow"===i.effect)&&(s.style.width=`${t.virtualSize+C}px`),i.setWrapperSize&&(s.style[t.getDirectionLabel("width")]=`${t.virtualSize+C}px`),M&&t.grid.updateWrapperSize(O,p),!i.centeredSlides){const e="auto"!==i.slidesPerView&&i.slidesPerView%1!=0,s=i.snapToSlideEdge&&!i.loop&&("auto"===i.slidesPerView||e);let n=p.length;if(s){let t;if("auto"===i.slidesPerView){t=1;let e=0;for(let i=m.length-1;i>=0&&(e+=m[i]+(i<m.length-1?C:0),e<=E);i-=1)t=m.length-i}else t=Math.floor(i.slidesPerView);n=Math.max(u-t,0)}const r=[];for(let e=0;e<p.length;e+=1){let o=p[e];i.roundLengths&&(o=Math.floor(o)),s?e<=n&&r.push(o):p[e]<=t.virtualSize-E&&r.push(o)}p=r,Math.floor(t.virtualSize-E)-Math.floor(p[p.length-1])>1&&(s||p.push(t.virtualSize-E))}if(a&&i.loop){const e=m[0]+C,s=(t.virtual.slidesBefore??0)+(t.virtual.slidesAfter??0);if(i.slidesPerGroup>1){const t=Math.ceil(s/i.slidesPerGroup),n=e*i.slidesPerGroup;for(let e=0;e<t;e+=1)p.push(p[p.length-1]+n)}for(let n=0;n<s;n+=1)1===i.slidesPerGroup&&p.push(p[p.length-1]+e),f.push(f[f.length-1]+e),t.virtualSize+=e}if(0===p.length&&(p=[0]),0!==C){const e=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter(((t,e)=>!(i.cssMode&&!i.loop)||e!==c.length-1)).forEach((t=>{t.style[e]=`${C}px`}))}if(i.centeredSlides&&i.centeredSlidesBounds){let t=0;m.forEach((e=>{t+=e+(C||0)})),t-=C;const e=t>E?t-E:0;p=p.map((t=>t<=0?-b:t>e?e+x:t))}if(i.centerInsufficientSlides){let t=0;if(m.forEach((e=>{t+=e+(C||0)})),t-=C,t<E){const e=(E-t)/2;p.forEach(((t,i)=>{p[i]=t-e})),f.forEach(((t,i)=>{f[i]=t+e}))}}if(Object.assign(t,{slides:c,snapGrid:p,slidesGrid:f,slidesSizesGrid:m}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){h(s,"--swiper-centered-offset-before",-p[0]+"px"),h(s,"--swiper-centered-offset-after",t.size/2-m[m.length-1]/2+"px");const e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map((t=>t+e)),t.slidesGrid=t.slidesGrid.map((t=>t+i))}if(u!==l&&t.emit("slidesLengthChange"),p.length!==w&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==S&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!(a||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const e=`${i.containerModifierClass}backface-hidden`,s=t.el.classList.contains(e);u<=i.maxBackfaceHiddenSlides?s||t.el.classList.add(e):s&&t.el.classList.remove(e)}},updateAutoHeight:function(t){const e=this,i=[],s=e.virtual&&e.params.virtual?.enabled;let n,r=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const o=t=>s?e.slides[e.getSlideIndexByData(t)]:e.slides[t];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach((t=>{i.push(t)}));else for(n=0;n<Math.ceil(e.params.slidesPerView);n+=1){const t=e.activeIndex+n;if(t>e.slides.length&&!s)break;const r=o(t);r&&i.push(r)}else{const t=o(e.activeIndex);t&&i.push(t)}for(n=0;n<i.length;n+=1)if(void 0!==i[n]){const t=i[n].offsetHeight;r=t>r?t:r}(r||0===r)&&(e.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s<e.length;s+=1)e[s].swiperSlideOffset=(t.isHorizontal()?e[s].offsetLeft:e[s].offsetTop)-i-t.cssOverflowAdjustment()},updateSlidesProgress:function(t=this&&this.translate||0){const e=this,i=e.params,{slides:s,rtlTranslate:n,snapGrid:r}=e;if(0===s.length)return;void 0===s[0].swiperSlideOffset&&e.updateSlidesOffset();let o=-t;n&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:"string"==typeof a&&(a=parseFloat(a));for(let t=0;t<s.length;t+=1){const l=s[t];let h=l.swiperSlideOffset??0;i.cssMode&&i.centeredSlides&&(h-=s[0].swiperSlideOffset??0);const c=l.swiperSlideSize??0,d=(o+(i.centeredSlides?e.minTranslate():0)-h)/(c+a),u=(o-r[0]+(i.centeredSlides?e.minTranslate():0)-h)/(c+a),p=-(o-h),f=p+e.slidesSizesGrid[t],g=p>=0&&p<=e.size-e.slidesSizesGrid[t],m=p>=0&&p<e.size-1||f>1&&f<=e.size||p<=0&&f>=e.size;m&&(e.visibleSlides.push(l),e.visibleSlidesIndexes.push(t)),Q(l,m,i.slideVisibleClass),Q(l,g,i.slideFullyVisibleClass),l.progress=n?-d:d,l.originalProgress=n?-u:u}},updateProgress:function(t){const e=this;if(void 0===t){const i=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*i||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:o}=e,a=e.progressLoop;const l=r,h=o;if(0===s)n=0,r=!0,o=!0;else{n=(t-e.minTranslate())/s;const i=Math.abs(t-e.minTranslate())<1,a=Math.abs(t-e.maxTranslate())<1;r=i||n<=0,o=a||n>=1,i&&(n=0),a&&(n=1)}if(i.loop){const i=e.getSlideIndexByData(0),s=e.getSlideIndexByData(e.slides.length-1),n=e.slidesGrid[i],r=e.slidesGrid[s],o=e.slidesGrid[e.slidesGrid.length-1],l=Math.abs(t);a=l>=n?(l-n)/o:(l+o-r)/o,a>1&&(a-=1)}Object.assign(e,{progress:n,progressLoop:a,isBeginning:r,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!l&&e.emit("reachBeginning toEdge"),o&&!h&&e.emit("reachEnd toEdge"),(l&&!r||h&&!o)&&e.emit("fromEdge"),e.emit("progress",n)},updateSlidesClasses:function(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:n}=t,r=!(!t.virtual||!i.virtual?.enabled),o=t.grid&&i.grid&&i.grid.rows>1,a=t=>d(s,`.${i.slideClass}${t}, swiper-slide${t}`)[0];let l,h,c;if(r)if(i.loop){const e=t.virtual.slides;let i=n-(t.virtual.slidesBefore??0);i<0&&(i=e.length+i),i>=e.length&&(i-=e.length),l=a(`[data-swiper-slide-index="${i}"]`)}else l=a(`[data-swiper-slide-index="${n}"]`);else o?(l=e.find((t=>t.column===n)),c=e.find((t=>t.column===n+1)),h=e.find((t=>t.column===n-1))):l=e[n];l&&(o||(c=function(t,e){const i=[];let s=t.nextElementSibling;for(;s;)e&&!s.matches(e)||i.push(s),s=s.nextElementSibling;return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),h=function(t,e){const i=[];let s=t.previousElementSibling;for(;s;)e&&!s.matches(e)||i.push(s),s=s.previousElementSibling;return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!h&&(h=e[e.length-1]))),e.forEach((t=>{Z(t,t===l,i.slideActiveClass),Z(t,t===c,i.slideNextClass),Z(t,t===h,i.slidePrevClass)})),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:o,snapIndex:a}=e;let l,h=t;const c=t=>{const i=e.virtual.slides;let s=t-(e.virtual.slidesBefore??0);return s<0&&(s=i.length+s),s>=i.length&&(s-=i.length),s};if(void 0===h&&(h=function(t){const{slidesGrid:e,params:i}=t,s=t.rtlTranslate?t.translate:-t.translate;let n;for(let t=0;t<e.length;t+=1)void 0!==e[t+1]?s>=e[t]&&s<e[t+1]-(e[t+1]-e[t])/2?n=t:s>=e[t]&&s<e[t+1]&&(n=t+1):s>=e[t]&&(n=t);return i.normalizeSlideIndex&&(n<0||void 0===n)&&(n=0),n}(e)),s.indexOf(i)>=0)l=s.indexOf(i);else{const t=Math.min(n.slidesPerGroupSkip,h);l=t+Math.floor((h-t)/n.slidesPerGroup)}if(l>=s.length&&(l=s.length-1),h===r&&!e.params.loop)return void(l!==a&&(e.snapIndex=l,e.emit("snapIndexChange")));if(h===r&&e.params.loop&&e.virtual&&e.params.virtual?.enabled)return void(e.realIndex=c(h));const d=e.grid&&n.grid&&n.grid.rows>1;let u;if(e.virtual&&n.virtual?.enabled)u=n.loop?c(h):h;else if(d){const t=e.slides.find((t=>t.column===h));let i=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(e.slides.indexOf(t),0)),u=Math.floor(i/n.grid.rows)}else if(e.slides[h]){const t=e.slides[h].getAttribute("data-swiper-slide-index");u=t?parseInt(t,10):h}else u=h;Object.assign(e,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:u,previousIndex:r,activeIndex:h}
vendor: 4,316 bytes, line 45
45),e.initialized&&_(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==u&&e.emit("realIndexChange"),e.emit("slideChange"))},updateClickedSlide:function(t,e){const i=this,s=i.params;let n=t.closest(`.${s.slideClass}, swiper-slide`);!n&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach((t=>{!n&&t.matches&&t.matches(`.${s.slideClass}, swiper-slide`)&&(n=t)}));let r,o=!1;if(n)for(let t=0;t<i.slides.length;t+=1)if(i.slides[t]===n){o=!0,r=t;break}if(!n||!o)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=n,i.virtual&&i.params.virtual?.enabled?i.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r,s.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}};const tt={eventsEmitter:B,update:J,translate:K,transition:{setTransition:function(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=0===t?"0ms":""),i.emit("setTransition",t,e)},transitionStart:function(t=!0,e){const i=this,{params:s}=i;s.cssMode||(s.autoHeight&&i.updateAutoHeight(),U({swiper:i,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t=!0,e){const i=this,{params:s}=i;i.animating=!1,s.cssMode||(i.setTransition(0),U({swiper:i,runCallbacks:t,direction:e,step:"End"}))}},slide:Y,loop:V,grabCursor:{setGrabCursor:function(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1}))},unsetGrabCursor:function(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1})))}},events:{attachEvents:function(){const t=this,{params:e}=t;t.onTouchStart=j.bind(t),t.onTouchMove=q.bind(t),t.onTouchEnd=W.bind(t),t.onDocumentTouchStart=z.bind(t),e.cssMode&&(t.onScroll=H.bind(t)),t.onClick=N.bind(t),t.onLoad=R.bind(t),G(t,"on")},detachEvents:function(){G(this,"off")}},breakpoints:D,checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const e=t.slides.length-1,i=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*s;t.isLocked=t.size>i}else t.isLocked=1===t.snapGrid.length;!0===i.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===i.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const t=this,{classNames:e,params:i,rtl:s,el:n,device:r}=t,o=function(t,e){const i=[];return t.forEach((t=>{"object"==typeof t?Object.keys(t).forEach((s=>{t[s]&&i.push(e+s)})):"string"==typeof t&&i.push(e+t)})),i}(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...o),n.classList.add(...e),t.emitContainerClasses()},removeClasses:function(){const{el:t,classNames:e}=this;t&&"string"!=typeof t&&(t.classList.remove(...e),this.emitContainerClasses())}}},et={};class it{static extendedDefaults;static defaults;constructor(...t){let e,i;if(1===t.length&&null!==t[0]&&"object"==typeof t[0]&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?i=t[0]:[e,i]=t,i||(i={}),i=l({},i),e&&!i.el&&(i.el=e),i.el&&"string"==typeof i.el&&"undefined"!=typeof document&&document.querySelectorAll(i.el).length>1){const t=[];return document.querySelectorAll(i.el).forEach((e=>{const s=l({},i,{el:e});t.push(new it(s))})),t}const s=this;s.__swiper__=!0,s.support=T(),s.device=k({userAgent:i.userAgent??void 0}),s.browser=M(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__||[]],i.modules&&Array.isArray(i.modules)&&i.modules.forEac
vendor: 4,558 bytes, line 45
45h((t=>{const e=t;"function"==typeof e&&s.modules.indexOf(e)<0&&s.modules.push(e)}));const n={};s.modules.forEach((t=>{t({params:i,swiper:s,extendParams:X(i,n),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const r=l({},I,n);if(s.params=l({},r,et,i),s.originalParams=l({},s.params),s.passedParams=l({},i),s.params&&s.params.on){const t=s.params.on;Object.keys(t).forEach((e=>{const i=t[e];i&&s.on(e,i)}))}return s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}isHorizontal(){return"horizontal"===this.params.direction}isVertical(){return"vertical"===this.params.direction}cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23}getSlideIndex(t){const{slidesEl:e,params:i}=this,s=m(d(e,`.${i.slideClass}, swiper-slide`)[0]);return m(t)-(s??0)}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find((e=>Number(e.getAttribute("data-swiper-slide-index"))===t)))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?t=Math.floor(t/this.params.grid.rows):"row"===this.params.grid.fill&&(t%=Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const{slidesEl:t,params:e}=this;this.slides=d(t,`.${e.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(t,e){t=Math.min(Math.max(t,0),1);const i=this.minTranslate(),s=(this.maxTranslate()-i)*t+i;this.translateTo(s,void 0===e?0:e),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){if(!this.params._emitClasses||!this.el)return;const t=this.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(this.params.containerModifierClass)));this.emit("_containerClasses",t.join(" "))}getSlideClasses(t){return this.destroyed?"":t.className.split(" ").filter((t=>0===t.indexOf("swiper-slide")||0===t.indexOf(this.params.slideClass))).join(" ")}emitSlidesClasses(){if(!this.params._emitClasses||!this.el)return;const t=[];this.slides.forEach((e=>{const i=this.getSlideClasses(e);t.push({slideEl:e,classNames:i}),this.emit("_slideClass",e,i)})),this.emit("_slideClasses",t)}slidesPerViewDynamic(t="current",e=!1){const{params:i,slides:s,slidesGrid:n,slidesSizesGrid:r,size:o,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(!o)return l;if(i.centeredSlides){let t=s[a]?Math.ceil(s[a].swiperSlideSize??0):0,e=!1;for(let i=a+1;i<s.length;i+=1)s[i]&&!e&&(t+=Math.ceil(s[i].swiperSlideSize??0),l+=1,t>o&&(e=!0));for(let i=a-1;i>=0;i-=1)s[i]&&!e&&(t+=s[i].swiperSlideSize??0,l+=1,t>o&&(e=!0))}else if("current"===t)for(let t=a+1;t<s.length;t+=1){(e?n[t]+r[t]-n[a]<o:n[t]-n[a]<o)&&(l+=1)}else for(let t=a-1;t>=0;t-=1){n[a]-n[t]<o&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:i}=t;function s(){const e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}let n;if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEac
45h((e=>{e.complete&&O(t,e)})),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode?.enabled&&!i.cssMode)s(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){const e=t.virtual&&i.virtual?.enabled?t.virtual.slides.length:t.slides.length;n=t.slideTo(e-1,0,!1,!0)}else n=t.slideTo(t.activeIndex,0,!1,!0);n||s()}i.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e=!0){const i=this,s=i.params.direction;return t||(t="horizontal"===s?"vertical":"horizontal"),t===s||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(`${i.params.containerModifierClass}${s}`),i.el.classList.add(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach((e=>{"vertical"===t?e.style.width="":e.style.height=""})),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.el.classList.add(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.el.classList.remove(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;if("undefined"==typeof document)return!1;const i=t??e.params.el;let s=null;if("string"==typeof i?s=document.querySelector(i):i instanceof HTMLElement&&(s=i),!s)return!1;s.swiper=e;const n=s.parentNode;n&&n.host&&n.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const r=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>{if(s&&s.shadowRoot){return s.shadowRoot.querySelector(r())}return d(s,r())[0]})();!o&&e.params.createElements&&(o=p("div",e.params.wrapperClass),s.append(o),d(s,`.${e.params.slideClass}`).forEach((t=>{o.append(t)})));const a=e.isElement?s.parentNode.host:null;return Object.assign(e,{el:s,wrapperEl:o,slidesEl:e.isElement&&!a.slideSlots?a:o,hostEl:e.isElement?a:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===g(s,"direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===g(s,"direction")),wrongRTL:"-webkit-box"===g(o,"display")}),!0}init(t){const e=this;if(e.initialized)return e;if(!1===e.mount(t))return e;e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual?.enabled?e.slideTo((e.params.initialSlide??0)+(e.virtual.slidesBefore??0),0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(void 0,!0),e.attachEvents();const i=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&i.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach((t=>{t.complete?O(e,t):t.addEventListener("load",(t=>{O(e,t.target)}))})),_(e),e.initialized=!0,_(e),e.emit("init"),e.emit("afterInit"),e}destroy(t=!0,e=!0){const i=this,{params:s,el:n,wrapperEl:r,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),e&&(i.removeClasses(),n&&"string"!=typeof n&&n.removeAttribute("style"),r&&r.removeAttribute("style"),o&&o.length&&o.forEach((t=>{t.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")}))),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((t=>{i.off(t)})),!1!==t&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),a=i,Object.keys(a).forEach((t=>{try{a[t]=null}catch{}try{delete a[t]}catch{}}))),i.destroyed=!0),null;var a}static extendDefaults(t){l(et,t)}static installModule(t){it.prototype.__modules__||(it.prototype.__modules__=[]);const e=it.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach((t=>it.installModule(t))),it):(it.installModule(t),it)}}Object.defineProperty(it,"extendedDefaults",{get:()=>et}),Object.defineProperty(it,"defaults",{get:()=>I});const st=tt,nt=it.prototype;Object.keys(st).forEach((t=>{const e=st[t];Object.keys(e).forEach((t=>{nt[t]=e[t]}))}
45)),it.use([({swiper:t,on:e,emit:i})=>{let s=null,n=null;const r=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},o=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};e("init",(()=>{t.params.resizeObserver&&void 0!==window.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver((e=>{n=window.requestAnimationFrame((()=>{const{width:i,height:s}=t;let n=i,o=s;e.forEach((({contentBoxSize:e,contentRect:i,target:s})=>{if(s&&s!==t.el)return;const r=Array.isArray(e)?e[0]:e;n=i?i.width:r.inlineSize,o=i?i.height:r.blockSize})),n===i&&o===s||r()}))})),s.observe(t.el)):(window.addEventListener("resize",r),window.addEventListener("orientationchange",o))})),e("destroy",(()=>{n&&window.cancelAnimationFrame(n),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),window.removeEventListener("resize",r),window.removeEventListener("orientationchange",o)}))},({swiper:t,extendParams:e,on:i})=>{const s=[],n=(e,i={})=>{const n=window.MutationObserver||window.WebkitMutationObserver;if(!n)return;const r=new n((e=>{if(t.__preventObserver__)return;if(1===e.length)return void t.emit("observerUpdate",e[0]);const i=function(){t.emit("observerUpdate",e[0])};window.requestAnimationFrame?window.requestAnimationFrame(i):window.setTimeout(i,0)}));r.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.push(r)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=v(t.hostEl);for(let t=0;t<e.length;t+=1)n(e[t])}n(t.hostEl,{childList:t.params.observeSlideChildren}),n(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{s.forEach((t=>{t.disconnect()})),s.splice(0,s.length)}))}]);const rt=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ot(t){if("object"!=typeof t||null===t)return!1;const e=t;return!!e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function at(t,e){const i=["__proto__","constructor","prototype"],s=t,n=e;return Object.keys(n).filter((t=>i.indexOf(t)<0)).forEach((t=>{const e=n[t],i=s[t];void 0===i?s[t]=e:ot(e)&&ot(i)&&Object.keys(e).length>0?e.__swiper__?s[t]=e:at(i,e):s[t]=e})),t}function lt(t=""){return t.replace(/-[a-z]/g,(t=>t.toUpperCase().replace("-","")))}const ht=t=>{if("string"!=typeof t)return null==t||"number"==typeof t||"boolean"==typeof t||ot(t),t;if(parseFloat(t)===Number(t))return Number(t);if("true"===t)return!0;
vendor: 4,425 bytes, line 45
45if(""===t)return!0;if("false"===t)return!1;if("null"===t)return null;if("undefined"!==t){if(t.includes("{")&&t.includes("}")&&t.includes('"'))try{return JSON.parse(t)}catch{return t}return t}},ct=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function dt(t,e,i){const s={},n={};at(s,I);const r=[...rt,"on"],o=r.map((t=>t.replace(/_/,"")));r.forEach((e=>{const i=e.replace("_","");void 0!==t[i]&&(n[i]=t[i])}));const a=[...t.attributes];return"string"==typeof e&&void 0!==i&&a.push({name:e,value:ot(i)?{...i}:i}),a.forEach((t=>{const e=ct.find((e=>t.name.startsWith(`${e}-`)));if(e){const i=lt(e),s=lt(t.name.split(`${e}-`)[1]);void 0===n[i]&&(n[i]={}),!0===n[i]&&(n[i]={enabled:!0}),!1===n[i]&&(n[i]={enabled:!1}),n[i][s]=ht(t.value)}else{const e=lt(t.name);if(!o.includes(e))return;const i=ht(t.value),s=n[e];if(s&&ct.includes(t.name)&&!ot(i)){const t=ot(s)?s:{};t.enabled=!!i,n[e]=t}else n[e]=i}})),at(s,n),s.navigation?s.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==s.navigation?s.navigation:{}}:!1===s.navigation&&delete s.navigation,s.scrollbar?s.scrollbar={el:".swiper-scrollbar",...!0!==s.scrollbar?s.scrollbar:{}}:!1===s.scrollbar&&delete s.scrollbar,s.pagination?s.pagination={el:".swiper-pagination",...!0!==s.pagination?s.pagination:{}}:!1===s.pagination&&delete s.pagination,{params:s,passedParams:n}}function ut(t,e,i,s){const n=i??{},r=e??{};return t.params.createElements&&Object.keys(s).forEach((e=>{if(!n[e]&&!0===n.auto){let i=d(t.el,`.${s[e]}`)[0];i||(i=p("div",s[e]),i.className=s[e],t.el.append(i)),n[e]=i,r[e]=i}})),n}const pt='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function ft(t=""){return`.${t.trim().replace(/([.:!+/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}const gt=t=>{if((t=>!!t.virtual&&!!t.params.virtual?.enabled)(t))return t.virtual.slides.length;const e=t.params.grid?.rows;return t.grid&&e&&e>1?t.slides.length/Math.ceil(e):t.slides.length};class mt{x;y;lastIndex;binarySearch;constructor(t,e){let i,s,n;this.binarySearch=(t,e)=>{for(s=-1,i=t.length;i-s>1;)n=i+s>>1,t[n]<=e?s=n:i=n;return i},this.x=t,this.y=e,this.lastIndex=t.length-1}interpolate(t){if(!t)return 0;const e=this.binarySearch(this.x,t),i=e-1;return(t-this.x[i])*(this.y[e]-this.y[i])/(this.x[e]-this.x[i])+this.y[i]}}const vt=t=>!!t.virtual&&!!t.params.virtual?.enabled;function bt(t,e){const i=this,{params:s,activeIndex:n,slidesEl:r}=i;let o=n;s.loop&&(o-=i.loopedSlides??0,i.loopDestroy(),i.recalcSlides());const a=i.slides.length;if(t<=0)return void i.prependSlide(e);if(t>=a)return void i.appendSlide(e);let l=o>t?o+1:o;const h=[];for(let e=a-1;e>=t;e-=1){const t=i.slides[e];t&&(t.remove(),h.unshift(t))}if(Array.isArray(e)){for(let t=0;t<e.length;t+=1){const i=e[t];i&&r.append(i)}l=o>t?o+e.length:o}else r.append(e);for(let t=0;t<h.length;t+=1)r.append(h[t]);i.recalcSlides(),s.loop&&i.loopCreate(),s.observer&&!i.isElement||i.update(),s.loop?i.slideTo(l+(i.loopedSlides??0),0,!1):i.slideTo(l,0,!1)}function yt(t){const e=this,{params:i,slidesEl:s}=e;i.loop&&e.loopDestroy();const n=t=>{if("string"==typeof t){const e=document.createElement("div");S(e,t);const i=e.children[0];i&&s.append(i),S(e,"")}else s.append(t)};if(Array.isArray(t))for(let e=0;e<t.length;e+=1){const i=t[e];i&&n(i)}else n(t);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update()}function xt(t){const e=this,{params:i,activeIndex:s,slidesEl:n}=e;i.loop&&e.loopDestroy();let r=s+1;const o=t=>{if("string"==typeof t){const e=document.createElement("div");S(e,t);const i=e.children[0];i&&n.prepend(i),S(e,"")}else n.prepend(t)};if(Array.isArray(t)){for(let e=0;e<t.length;e+=1){const i=t[e];i&&o(i)}r=s+t.length}else o(t);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update(
45),e.slideTo(r,0,!1)}function wt(){const t=this,e=[];for(let i=0;i<t.slides.length;i+=1)e.push(i);t.removeSlide(e)}function St(t){const e=this,{params:i,activeIndex:s}=e;let n=s;i.loop&&(n-=e.loopedSlides??0,e.loopDestroy());let r=n;if(Array.isArray(t)){for(let i=0;i<t.length;i+=1){const s=t[i];e.slides[s]&&e.slides[s].remove(),s<r&&(r-=1)}r=Math.max(r,0)}else{const i=t;e.slides[i]&&e.slides[i].remove(),i<r&&(r-=1),r=Math.max(r,0)}e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update(),i.loop?e.slideTo(r+(e.loopedSlides??0),0,!1):e.slideTo(r,0,!1)}function Et(t){const{effect:e,swiper:i,on:s,setTranslate:n,setTransition:r,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:h}=t;s("beforeInit",(()=>{if(i.params.effect!==e)return;i.classNames.push(`${i.params.containerModifierClass}${e}`),a&&a()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const t=o?o():{};Object.assign(i.params,t),Object.assign(i.originalParams,t)})),s("setTranslate _virtualUpdated",(()=>{i.params.effect===e&&n()})),s("setTransition",((t,s)=>{i.params.effect===e&&r(s)})),s("transitionEnd",(()=>{if(i.params.effect===e&&l){const t=h?h():void 0;if(!t||!t.slideShadows)return;i.slides.forEach((t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>t.remove()))})),l()}}));let c=!1;s("virtualUpdate",(()=>{i.params.effect===e&&(i.slides.length||(c=!0),requestAnimationFrame((()=>{c&&i.slides&&i.slides.length&&(n(),c=!1)})))}))}function Ct(t,e){const i=c(e);return i!==e&&(i.style.backfaceVisibility="hidden",i.style.setProperty("-webkit-backface-visibility","hidden")),i}function At({swiper:t,duration:e,transformElements:i,allSlides:s}){const{activeIndex:n}=t;if(t.params.virtualTranslate&&0!==e){let e,r=!1;e=s?i:i.filter((e=>{const i=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement instanceof HTMLElement?e.parentElement:void 0:t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode)))(e):e;return!!i&&t.getSlideIndex(i)===n})),e.forEach((e=>{b(e,(()=>{if(r)return;if(!t||t.destroyed)return;r=!0,t.animating=!1;const e=new CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function Tt(t,e,i){const s=`swiper-slide-shadow${i?`-${i}`:""}${t?` swiper-slide-shadow-${t}`:""}`,n=c(e),r=`.${s.split(" ").join(".")}`,o=n.querySelector(r);if(o)return o;const a=p("div",s.split(" "));return n.append(a),a}const kt=[({swiper:t,extendParams:e,on:i,emit:s})=>{let n,r;function o(){return t.params.virtual}e({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),t.virtual={cache:{},from:0,to:-1,slides:[],offset:0,slidesGrid:[]};function a(e,i){const s=o();if(s.cache&&t.virtual.cache[i])return t.virtual.cache[i];let n;if(s.renderSlide){const o=s.renderSlide.call(t,e,i);if("string"==typeof o){const t=r??=document.createElement("div");S(t,o),n=t.children[0]}else n=o}else n=t.isElement?p("swiper-slide"):p("div",t.params.slideClass);return n.setAttribute("data-swiper-slide-index",String(i)),s.renderSlide||S(n,e),s.cache&&(t.virtual.cache[i]=n),n}function l(e,i,n){const{slidesPerGroup:r,centeredSlides:l,slidesPerView:h,loop:c,initialSlide:u}=t.params;if(i&&!c&&(u??0)>0)return;const{addSlidesBefore:p,addSlidesAfter:f,slidesPerViewAutoSlideSize:g}=o(),{from:m,to:v,slides:b,slidesGrid:y,offset:x}=t.virtual;t.params.cssMode||t.updateActiveIndex();const w=void 0===n?t.activeIndex||0:n;let S,E;if(S=t.rtlTranslate?"right":t.isHorizontal()?"left":"top","auto"===h)if(g){let e=t.size;e||(e=t.isHorizontal()?t.el.getBoundingClientRect().width:t.el.getBoundingClientRect().height),E=Math.max(1,Math.ceil(e/g))}else E=1;else E=h??1;const C=r??1;let A,T;l?(A=Math.floor(E/2)+C+f,T=Math.floor(E/2)+C+p):(A=E+(C-1)+f,T=(c?E:C)+p);let k=w-T,M=w+A;c||(k=Math.max(k,0),M=Math.min(M,b.length-1));let O=(t.slidesGrid[k]||0)-(t.slidesGrid[0]||0);function L(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),s("virtualUpdate")}if(c&&w>=T?(k-=T,l||(O+=t.slidesGrid[0])):c&&w<T&&(k=-T,l&&(O+=t.slidesGrid[0])),Object.assign(t.virtual,{from:k,to:M,offset:O,slidesGrid:t.slidesGrid,slidesBefore:T,slidesAfter:A}),m===k&&v===M&&!e)return t.slidesGrid!==y&&O!==x&&t.slides.forEac
45h((e=>{e.style.setProperty(S,O-Math.abs(t.cssOverflowAdjustment())+"px")})),t.updateProgress(),void s("virtualUpdate");const _=o();if(_.renderExternal){const e=[];for(let t=k;t<=M;t+=1)e.push(b[t]);return _.renderExternal.call(t,{offset:O,from:k,to:M,slides:e}),void(_.renderExternalUpdate?L():s("virtualUpdate"))}const P=[],D=[],I=t=>{let e=t;return t<0?e=b.length+t:e>=b.length&&(e-=b.length),e};if(e)t.slides.filter((e=>e.matches(`.${t.params.slideClass}, swiper-slide`))).forEach((t=>{t.remove()}));else for(let e=m;e<=v;e+=1)if(e<k||e>M){const i=I(e);t.slides.filter((e=>e.matches(`.${t.params.slideClass}[data-swiper-slide-index="${i}"], swiper-slide[data-swiper-slide-index="${i}"]`))).forEach((t=>{t.remove()}))}const B=c?-b.length:0,N=c?2*b.length:b.length;for(let t=B;t<N;t+=1)if(t>=k&&t<=M){const i=I(t);void 0===v||e?D.push(i):(t>v&&D.push(i),t<m&&P.push(i))}if(D.forEach((e=>{t.slidesEl.append(a(b[e],e))})),c)for(let e=P.length-1;e>=0;e-=1){const i=P[e];t.slidesEl.prepend(a(b[i],i))}else P.sort(((t,e)=>e-t)),P.forEach((e=>{t.slidesEl.prepend(a(b[e],e))}));d(t.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style.setProperty(S,O-Math.abs(t.cssOverflowAdjustment())+"px")})),L()}i("beforeInit",(()=>{if(!o().enabled)return;let e=!1;const i=t.passedParams.virtual;if(!i||"object"!=typeof i||void 0===i.slides){const i=[...t.slidesEl.children].filter((e=>e.matches(`.${t.params.slideClass}, swiper-slide`)));i&&i.length&&(t.virtual.slides=[...i],e=!0,i.forEach(((e,i)=>{e.setAttribute("data-swiper-slide-index",String(i)),t.virtual.cache[i]=e,e.remove()})))}e||(t.virtual.slides=o().slides),t.classNames.push(`${t.params.containerModifierClass}virtual`),t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0,l(!1,!0)})),i("setTranslate",(()=>{o().enabled&&(t.params.cssMode&&!t._immediateVirtual?(clearTimeout(n),n=setTimeout((()=>{l()}),100)):l())})),i("init update resize",(()=>{o().enabled&&t.params.cssMode&&h(t.wrapperEl,"--swiper-virtual-size",`${t.virtualSize}px`)})),Object.assign(t.virtual,{appendSlide:function(e){if(null!==e&&"object"==typeof e&&"length"in e){const i=e;for(let e=0;e<i.length;e+=1)i[e]&&t.virtual.slides.push(i[e])}else t.virtual.slides.push(e);l(!0)},prependSlide:function(e){const i=t.activeIndex;let s=i+1,n=1;if(Array.isArray(e)){for(let i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.unshift(e[i]);s=i+e.length,n=e.length}else t.virtual.slides.unshift(e);if(o().cache){const e=t.virtual.cache,i={};Object.keys(e).forEach((t=>{const s=e[Number(t)],r=s.getAttribute("data-swiper-slide-index");r&&s.setAttribute("data-swiper-slide-index",String(parseInt(r,10)+n)),i[parseInt(t,10)+n]=s})),t.virtual.cache=i}l(!0),t.slideTo(s,0)},removeSlide:function(e){if(null==e)return;let i=t.activeIndex;const s=e=>{Object.keys(t.virtual.cache).forEach((i=>{const s=Number(i);if(s>e){const e=t.virtual.cache[s];t.virtual.cache[s-1]=e,e.setAttribute("data-swiper-slide-index",String(s-1)),delete t.virtual.cache[s]}}))};if(Array.isArray(e))for(let n=e.length-1;n>=0;n-=1)o().cache&&(delete t.virtual.cache[e[n]],s(e[n])),t.virtual.slides.splice(e[n],1),e[n]<i&&(i-=1),i=Math.max(i,0);else o().cache&&(delete t.virtual.cache[e],s(e)),t.virtual.slides.splice(e,1),e<i&&(i-=1),i=Math.max(i,0);l(!0),t.slideTo(i,0)},removeAllSlides:function(){t.virtual.slides=[],o().cache&&(t.virtual.cache={}),l(!0),t.slideTo(0,0)},update:l})},({swiper:t,extendParams:e,on:i,emit:s})=>{function n(){return t.params.keyboard}function r(e){if(!t.enabled)return;const{rtlTranslate:i}=t,r="originalEvent"in e&&e.originalEvent?e.originalEvent:e,o=r.keyCode||r.charCode,a=n(),l=!!a.pageUpDown,h=l&&33===o,c=l&&34===o,d=37===o,u=39===o,p=38===o,g=40===o;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&g||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&d||t.isVertical()&&p||h))return!1;if(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey)return;const m=document.activeElement;if(m&&(m.isContentEditable||m.nodeName&&("input"===m.nodeName.toLowerCase()||"textarea"===m.nodeName.toLowerCase())))return;if(a.onlyInViewport&&(h||c||d||u||p||g)){let e=!1;if(v(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===v(t.el,`.${t.params.slideActiveClass}`).length)return;
45const s=t.el,n=s.clientWidth,r=s.clientHeight,o=window.innerWidth,a=window.innerHeight,l=f(s);i&&(l.left-=s.scrollLeft);const h=[[l.left,l.top],[l.left+n,l.top],[l.left,l.top+r],[l.left+n,l.top+r]];for(let t=0;t<h.length;t+=1){const i=h[t];if(i[0]>=0&&i[0]<=o&&i[1]>=0&&i[1]<=a){if(0===i[0]&&0===i[1])continue;e=!0}}if(!e)return}const b=a.speed;t.isHorizontal()?((h||c||d||u)&&r.cancelable&&r.preventDefault(),((c||u)&&!i||(h||d)&&i)&&t.slideNext(b),((h||d)&&!i||(c||u)&&i)&&t.slidePrev(b)):((h||c||p||g)&&r.cancelable&&r.preventDefault(),(c||g)&&t.slideNext(b),(h||p)&&t.slidePrev(b)),s("keyPress",o)}function o(){t.keyboard.enabled||(document.addEventListener("keydown",r),t.keyboard.enabled=!0)}function a(){t.keyboard.enabled&&(document.removeEventListener("keydown",r),t.keyboard.enabled=!1)}e({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),t.keyboard={enabled:!1,enable:o,disable:a},i("init",(()=>{n().enabled&&o()})),i("destroy",(()=>{t.keyboard.enabled&&a()}))},({swiper:t,extendParams:e,on:i,emit:s})=>{let o;e({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}});let a,l=r(),h=!1;const c=[];function d(){return t.params.mousewheel}function u(){t.enabled&&(h=!0)}function p(){t.enabled&&(h=!1)}function f(e){const i=d();return!(i.thresholdDelta&&e.delta<i.thresholdDelta)&&(!(i.thresholdTime&&r()-l<i.thresholdTime)&&(e.delta>=6&&r()-l<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),s("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),s("scroll",e.raw)),l=(new window.Date).getTime(),!1)))}function g(e){let i="originalEvent"in e&&e.originalEvent?e.originalEvent:e,l=!0;if(!t.enabled)return!1;const u=d();if(e.target.closest(`.${u.noMousewheelClass}`))return!1;t.params.cssMode&&i.preventDefault();let p=t.el;"container"!==u.eventsTarget&&(p=document.querySelector(u.eventsTarget));const g=p&&p.contains(i.target);if(!h&&!g&&!u.releaseOnEdges)return!0;let m=0;const v=t.rtlTranslate?-1:1,b=function(t){const e=t;let i=0,s=0,n=0,r=0;return void 0!==e.detail&&(s=e.detail),void 0!==e.wheelDelta&&(s=-e.wheelDelta/120),void 0!==e.wheelDeltaY&&(s=-e.wheelDeltaY/120),void 0!==e.wheelDeltaX&&(i=-e.wheelDeltaX/120),void 0!==e.axis&&void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS&&(i=s,s=0),n=10*i,r=10*s,void 0!==e.deltaY&&(r=e.deltaY),void 0!==e.deltaX&&(n=e.deltaX),e.shiftKey&&!n&&(n=r,r=0),(n||r)&&e.deltaMode&&(1===e.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!i&&(i=n<1?-1:1),r&&!s&&(s=r<1?-1:1),{spinX:i,spinY:s,pixelX:n,pixelY:r}}(i);if(u.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(b.pixelX)>Math.abs(b.pixelY)))return!0;m=-b.pixelX*v}else{if(!(Math.abs(b.pixelY)>Math.abs(b.pixelX)))return!0;m=-b.pixelY}else m=Math.abs(b.pixelX)>Math.abs(b.pixelY)?-b.pixelX*v:-b.pixelY;if(0===m)return!0;u.invert&&(m=-m);let y=t.getTranslate()+m*(u.sensitivity??1);y>=t.minTranslate()&&(y=t.minTranslate()),y<=t.maxTranslate()&&(y=t.maxTranslate()),l=!!t.params.loop||!(y===t.minTranslate()||y===t.maxTranslate()),l&&t.params.nested&&i.stopPropagation();const x=t.params.freeMode;if(t.params.freeMode&&x?.enabled){const e={time:r(),delta:Math.abs(m),direction:Math.sign(m)},l=a&&e.time<a.time+500&&e.delta<=a.delta&&e.direction===a.direction;if(!l){a=void 0;let r=t.getTranslate()+m*(u.sensitivity??1);const h=t.isBeginning,d=t.isEnd;if(r>=t.minTranslate()&&(r=t.minTranslate()),r<=t.maxTranslate()&&(r=t.maxTranslate()),t.setTransition(0),t.setTranslate(r),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!h&&t.isBeginning||!d&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),x?.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const i=c.length?c[c.length-1]:void 0,s=c[0];if(c.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))c.splice(0);else if(c.length>=15&&s&&e.time-s.time<500&&s.delta-e.delta>=1&&e.delta<=6){const i=m>0?.8:.2;a=e,c.splice(0),o=n((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,i)}),0)}o||(o=n((()=>
45{if(t.destroyed||!t.params)return;a=e,c.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}l||s("scroll",i);const p=t.params.autoplay;if(t.params.autoplay&&p?.disableOnInteraction&&t.autoplay.stop(),u.releaseOnEdges&&(r===t.minTranslate()||r===t.maxTranslate()))return!0}}else{const i={time:r(),delta:Math.abs(m),direction:Math.sign(m),raw:e};c.length>=2&&c.shift();const s=c.length?c[c.length-1]:void 0;if(c.push(i),s?(i.direction!==s.direction||i.delta>s.delta||i.time>s.time+150)&&f(i):f(i),function(e){const i=d();if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.cancelable&&i.preventDefault(),!1}function m(e){const i=d();let s=t.el;"container"!==i.eventsTarget&&(s=document.querySelector(i.eventsTarget)),s[e]("mouseenter",u),s[e]("mouseleave",p),s[e]("wheel",g)}function v(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(m("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener("wheel",g),!0):!!t.mousewheel.enabled&&(m("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{const e=d();!e.enabled&&t.params.cssMode&&b(),e.enabled&&v()})),t.mousewheel={enabled:!1,enable:v,disable:b},i("destroy",(()=>{t.params.cssMode&&v(),t.mousewheel.enabled&&b()}))},({swiper:t,extendParams:e,on:i,emit:s})=>{function n(){return t.params.navigation}function r(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e)||t.hostEl.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i?e:i)}function o(e,i){const s=n();x(e).forEach((e=>{e&&(e.classList[i?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass))}))}function a(){const{nextEl:e,prevEl:i}=t.navigation;if(t.params.loop)return o(i,!1),void o(e,!1);o(i,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}function h(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"))}function c(){t.params.navigation=ut(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"});const e=n();if(!e.nextEl&&!e.prevEl)return;const i=r(e.nextEl),s=r(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:s});const o=x(i),a=x(s),c=(i,s)=>{if(i){if(e.addIcons&&i.matches(".swiper-button-next,.swiper-button-prev")&&!i.querySelector("svg")){const t=document.createElement("div");S(t,pt);const e=t.querySelector("svg");e&&i.appendChild(e),t.remove()}i.addEventListener("click","next"===s?h:l)}!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};o.forEach((t=>c(t,"next"))),a.forEach((t=>c(t,"prev")))}function d(){const e=n(),{nextEl:i,prevEl:s}=t.navigation,r=x(i),o=x(s),a=(t,i)=>{t.removeEventListener("click","next"===i?h:l),t.classList.remove(...e.disabledClass.split(" "))};r.forEach((t=>a(t,"next"))),o.forEach((t=>a(t,"prev")))}e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null,arrowSvg:pt},i("init",(()=>{!1===n().enabled?u():(c(),a())})),i("toEdge fromEdge lock unlock",(()=>{a()})),i("destroy",(()=>{d()})),i("enable disable",(()=>{const e=n(),{nextEl:i,prevEl:s}=t.navigation,r=x(i),o=x(s);t.enabled?a():[...r,...o].filter((t=>!!t)).forEach((t=>t.classList.add(e.lockClass)))})),i("click",((e,i)=>{const r=n(),{nextEl:o,prevEl:a}=t.navigation,l=x(o),h=x(a),c=i.target;let d=h.includes(c)||l.includes(c);if(t.isElement&&!d){const t=i.composedPath?i.composedPath():[];t.length&&(d=t.find((t=>l.includes(t)||h.includes(t))))}if(r.hideOnClick&&!d){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===c||t.pagination.el.contains(c)))return;let e;l.length?e=l[0].classList.contains(r.hiddenClass):h.length&&(e=h[0].classList.contains(r.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),[...l,...h].filter((t=>
45!!t)).forEach((t=>t.classList.toggle(r.hiddenClass)))}}));const u=()=>{const e=n();t.el.classList.add(...e.navigationDisabledClass.split(" ")),d()};Object.assign(t.navigation,{enable:()=>{const e=n();t.el.classList.remove(...e.navigationDisabledClass.split(" ")),c(),a()},disable:u,update:a,init:c,destroy:d})},({swiper:t,extendParams:e,on:i,emit:s})=>{const n="swiper-pagination";let r;e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function a(){return t.params.pagination}function l(){return!a().el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function h(t,e){const{bulletActiveClass:i}=a();if(!t)return;let s=t[("prev"===e?"previous":"next")+"ElementSibling"];s&&(s.classList.add(`${i}-${e}`),s=s[("prev"===e?"previous":"next")+"ElementSibling"],s&&s.classList.add(`${i}-${e}-${e}`))}function c(e){const i=e.target.closest(ft(a().bulletClass));if(!i)return;e.preventDefault();const s=(m(i)??0)*(t.params.slidesPerGroup??1);if(t.params.loop){if(t.realIndex===s)return;const e=(n=t.realIndex,r=s,o=t.slides.length,(r%=o)==1+(n%=o)?"next":r===n-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(s)}else t.slideTo(s);var n,r,o}function d(){const e=t.rtl,i=a();if(l())return;const n=x(t.pagination.el);let c,d;const u=gt(t),p=t.params.loop?Math.ceil(u/(t.params.slidesPerGroup??1)):t.snapGrid.length;if(t.params.loop?(d=t.previousRealIndex||0,c=(t.params.slidesPerGroup??1)>1?Math.floor(t.realIndex/(t.params.slidesPerGroup??1)):t.realIndex):void 0!==t.snapIndex?(c=t.snapIndex,d=t.previousSnapIndex):(d=t.previousIndex||0,c=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const s=t.pagination.bullets;let a=0,l=0,u=0;if(i.dynamicBullets){r=y(s[0],t.isHorizontal()?"width":"height");const e=t.isHorizontal()?"width":"height";n.forEach((t=>{t.style[e]=(r??0)*(i.dynamicMainBullets+4)+"px"})),i.dynamicMainBullets>1&&void 0!==d&&(o+=c-(d||0),o>i.dynamicMainBullets-1?o=i.dynamicMainBullets-1:o<0&&(o=0)),a=Math.max(c-o,0),l=a+(Math.min(s.length,i.dynamicMainBullets)-1),u=(l+a)/2}if(s.forEach((t=>{const e=["","-next","-next-next","-prev","-prev-prev","-main"].map((t=>`${i.bulletActiveClass}${t}`)).flatMap((t=>"string"==typeof t&&t.includes(" ")?t.split(" "):[t]));t.classList.remove(...e)})),n.length>1)s.forEach((e=>{const s=m(e);s===c?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&void 0!==s&&(s>=a&&s<=l&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),s===a&&h(e,"prev"),s===l&&h(e,"next"))}));else{const e=s[c];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&s.forEach(((t,e)=>{t.setAttribute("part",e===c?"bullet-active":"bullet")})),i.dynamicBullets){const t=s[a],e=s[l];for(let t=a;t<=l;t+=1)s[t]&&s[t].classList.add(...`${i.bulletActiveClass}-main`.split(" "));h(t,"prev"),h(e,"next")}}if(i.dynamicBullets){const n=Math.min(s.length,i.dynamicMainBullets+4),o=((r??0)*n-(r??0))/2-u*(r??0),a=e?"right":"left",l=t.isHorizontal()?a:"top";s.forEach((t=>{t.style[l]=`${o}px`}))}}n.forEach(((e,n)=>{if("fraction"===i.type&&(e.querySelectorAll(ft(i.currentClass)).forEach((t=>{t.textContent=String(i.formatFractionCurrent(c+1))})),e.querySelectorAll(ft(i.totalClass)).forEach((t=>{t.textContent=String(i.formatFractionTotal(p))}))),"progressbar"===i.type){let s;s=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(c+1)/p;let r=1,o=1;"horizontal"===s?r=n:o=n,e.querySelectorAll(ft(i.progressbarFillClass)).forEac
45h((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===i.type&&i.renderCustom?(S(e,i.renderCustom(t,c+1,p)),0===n&&s("paginationRender",e)):(0===n&&s("paginationRender",e),s("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass)}))}function u(){const e=a();if(l())return;const i=gt(t),n=x(t.pagination.el);let r="";if("bullets"===e.type){let s=t.params.loop?Math.ceil(i/(t.params.slidesPerGroup??1)):t.snapGrid.length;t.params.freeMode&&(t=>!!t.params.freeMode?.enabled)(t)&&s>i&&(s=i);for(let i=0;i<s;i+=1)e.renderBullet?r+=e.renderBullet.call(t,i,e.bulletClass):r+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],n.forEach((i=>{"custom"!==e.type&&S(i,r||""),"bullets"===e.type&&t.pagination.bullets.push(...Array.from(i.querySelectorAll(ft(e.bulletClass))))})),"custom"!==e.type&&s("paginationRender",n[0])}function p(){t.params.pagination=ut(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=a();if(!e.el)return;let i;if("string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),!i||Array.isArray(i)&&0===i.length)return;if(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1)){const e=i.find((e=>v(e,".swiper")[0]===t.el));e&&(i=e)}Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{el:i});x(i).forEach((i=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",c),t.enabled||i.classList.add(e.lockClass)}))}function f(){const e=a();if(l())return;const i=t.pagination.el;if(i){x(i).forEach((i=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",c))}))}t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}i("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=a();x(t.pagination.el).forEach((i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===a().enabled?g():(p(),u(),d())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&d()})),i("snapIndexChange",(()=>{d()})),i("snapGridLengthChange",(()=>{u(),d()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{const{el:e}=t.pagination;if(e){const i=a();x(e).forEach((e=>e.classList[t.enabled?"remove":"add"](i.lockClass)))}})),i("lock unlock",(()=>{d()})),i("click",((e,i)=>{const n=i.target,r=x(t.pagination.el),o=a();if(o.el&&o.hideOnClick&&r&&r.length>0&&!n.classList.contains(o.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=r[0].classList.contains(o.hiddenClass);s(!0===e?"paginationShow":"paginationHide"),r.forEach((t=>t.classList.toggle(o.hiddenClass)))}}));const g=()=>{const e=a();t.el.classList.add(e.paginationDisabledClass);const{el:i}=t.pagination;if(i){x(i).forEach((t=>t.classList.add(e.paginationDisabledClass)))}f()};Object.assign(t.pagination,{enable:()=>{const e=a();t.el.classList.remove(e.paginationDisabledClass);const{el:i}=t.pagination;
45if(i){x(i).forEach((t=>t.classList.remove(e.paginationDisabledClass)))}p(),u(),d()},disable:g,render:u,update:d,init:p,destroy:f})},({swiper:t,extendParams:e,on:i,emit:r})=>{let o=!1,a=null,l=null,h=0,c=0,d=0,u=0;function g(){return t.params.scrollbar}function m(){const e=g();if(!e.el||!t.scrollbar.el)return;const{scrollbar:i,rtlTranslate:s}=t,{dragEl:n,el:r}=i,o=t.params.loop?t.progressLoop??0:t.progress;let l=c,h=(d-c)*o;s?(h=-h,h>0?(l=c-h,h=0):-h+c>d&&(l=d+h)):h<0?(l=c+h,h=0):h+c>d&&(l=d-h),t.isHorizontal()?(n.style.transform=`translate3d(${h}px, 0, 0)`,n.style.width=`${l}px`):(n.style.transform=`translate3d(0px, ${h}px, 0)`,n.style.height=`${l}px`),e.hide&&(a&&clearTimeout(a),r.style.opacity="1",a=setTimeout((()=>{r.style.opacity="0",r.style.transitionDuration="400ms"}),1e3))}function v(){const e=g();if(!e.el||!t.scrollbar.el)return;const{scrollbar:i}=t,{dragEl:s,el:n}=i;s.style.width="",s.style.height="",d=t.isHorizontal()?n.offsetWidth:n.offsetHeight,u=t.size/(t.virtualSize+(t.params.slidesOffsetBefore??0)-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===e.dragSize?d*u:parseInt(String(e.dragSize),10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,n.style.display=u>=1?"none":"",e.hide&&(n.style.opacity="0"),t.params.watchOverflow&&t.enabled&&i.el.classList[t.isLocked?"add":"remove"](e.lockClass)}function b(e){return t.isHorizontal()?e.clientX??e.touches?.[0]?.clientX??0:e.clientY??e.touches?.[0]?.clientY??0}function y(e){const{scrollbar:i,rtlTranslate:s}=t,{el:n}=i;let r;r=(b(e)-f(n)[t.isHorizontal()?"left":"top"]-(null!==h?h:c/2))/(d-c),r=Math.max(Math.min(r,1),0),s&&(r=1-r);const o=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(o),t.setTranslate(o),t.updateActiveIndex(),t.updateSlidesClasses()}function w(e){const i=g(),{scrollbar:s,wrapperEl:n}=t,{el:a,dragEl:c}=s;o=!0,h=e.target===c?b(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.style.transitionDuration="100ms",c.style.transitionDuration="100ms",y(e),l&&clearTimeout(l),a.style.transitionDuration="0ms",i.hide&&(a.style.opacity="1"),t.params.cssMode&&(t.wrapperEl.style.scrollSnapType="none"),r("scrollbarDragStart",e)}function S(e){const{scrollbar:i,wrapperEl:s}=t,{el:n,dragEl:a}=i;o&&(e.cancelable&&e.preventDefault(),y(e),s.style.transitionDuration="0ms",n.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function E(e){const i=g(),{scrollbar:s,wrapperEl:a}=t,{el:h}=s;o&&(o=!1,t.params.cssMode&&(t.wrapperEl.style.scrollSnapType="",a.style.transitionDuration=""),i.hide&&(l&&clearTimeout(l),l=n((()=>{h.style.opacity="0",h.style.transitionDuration="400ms"}),1e3)),r("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())}function C(e){const{scrollbar:i,params:s}=t,n=i.el;if(!n)return;const r=!!s.passiveListeners&&{passive:!1,capture:!1},o=!!s.passiveListeners&&{passive:!0,capture:!1},a="on"===e?"addEventListener":"removeEventListener";n[a]("pointerdown",w,r),document[a]("pointermove",S,r),document[a]("pointerup",E,o)}function A(){const{scrollbar:e,el:i}=t;t.params.scrollbar=ut(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const n=g();if(!n.el)return;let r;if("string"==typeof n.el&&t.isElement&&(r=t.el.querySelector(n.el)),r||"string"!=typeof n.el)r||(r=n.el);else if(r=document.querySelectorAll(n.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===i.querySelectorAll(n.el).length&&(r=i.querySelector(n.el)),r.length>0&&(r=r[0]);const o=r;o.classList.add(t.isHorizontal()?n.horizontalClass:n.verticalClass);let a=null;o&&(a=o.querySelector(ft(n.dragClass)),a||(a=p("div",n.dragClass),o.append(a))),Object.assign(e,{el:o,dragEl:a}),n.draggable&&g().el&&t.scrollbar.el&&C("on"),o&&o.classList[t.enabled?"remove":"add"](...s(n.lockClass))}function T(){const e=g(),i=t.scrollbar.el;i&&i.classList.remove(...s(t.isHorizontal()?e.horizontalClass:e.verticalClass)),g().el&&t.scrollbar.el&&C("off")}e({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=g();x(t.scrollbar.el).forEach((i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===g().enabled?k():(A(),v(),m())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{v()})),i("setTranslate",(()=>{m()}
45)),i("setTransition",((e,i)=>{!function(e){g().el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(i)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...s(g().lockClass))})),i("destroy",(()=>{T()}));const k=()=>{const e=g();t.el.classList.add(...s(e.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...s(e.scrollbarDisabledClass)),T()};Object.assign(t.scrollbar,{enable:()=>{const e=g();t.el.classList.remove(...s(e.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...s(e.scrollbarDisabledClass)),A(),v(),m()},disable:k,updateSize:v,setTranslate:m,init:A,destroy:T})},({swiper:t,extendParams:e,on:i})=>{function s(){return t.params.parallax}e({parallax:{enabled:!1}});const n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(e,i)=>{const{rtl:s}=t,n=s?-1:1,r=e.getAttribute("data-swiper-parallax")||"0";let o=e.getAttribute("data-swiper-parallax-x"),a=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),h=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(o||a?(o=o||"0",a=a||"0"):t.isHorizontal()?(o=r,a="0"):(a=r,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*n+"%":Number(o)*i*n+"px",a=a.indexOf("%")>=0?parseInt(a,10)*i+"%":Number(a)*i+"px",null!=h){const t=Number(h),s=t-(t-1)*(1-Math.abs(i));e.style.opacity=String(s)}let d=`translate3d(${o}, ${a}, 0px)`;if(null!=l){const t=Number(l);d+=` scale(${t-(t-1)*(1-Math.abs(i))})`}if(c&&null!=c){d+=` rotate(${Number(c)*i*-1}deg)`}e.style.transform=d},o=()=>{const{el:e,slides:i,progress:s,snapGrid:o}=t,a=d(e,n);t.isElement&&a.push(...d(t.hostEl,n)),a.forEach((t=>{r(t,s)})),i.forEach(((e,i)=>{let a=e.progress??0;(t.params.slidesPerGroup??1)>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(i/2)-s*(o.length-1)),a=Math.min(Math.max(a,-1),1),e.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach((t=>{r(t,a)}))}))};i("beforeInit",(()=>{s().enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),i("init",(()=>{s().enabled&&o()})),i("setTranslate",(()=>{s().enabled&&o()})),i("setTransition",((e,i)=>{s().enabled&&((e=t.params.speed??300)=>{const{el:i,hostEl:s}=t,r=[...i.querySelectorAll(n)];t.isElement&&r.push(...s.querySelectorAll(n)),r.forEach((t=>{const i=t.getAttribute("data-swiper-parallax-duration");let s=(i?parseInt(i,10):0)||e;0===e&&(s=0),t.style.transitionDuration=`${s}ms`}))})(i)}))},({swiper:t,extendParams:e,on:i,emit:s})=>{function n(){return t.params.zoom}e({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let r=1,a=!1,l=!1,h={x:0,y:0};let c=!1,u=!1;const p=[],g={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},b={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let y,x=1;function w(){if(p.length<2)return 1;const t=p[0].pageX,e=p[0].pageY,i=p[1].pageX,s=p[1].pageY;return Math.sqrt((i-t)**2+(s-e)**2)}function S(){const t=n(),e=g.imageWrapEl?.getAttribute("data-swiper-zoom"),i=null!=e?Number(e):t.maxRatio,s=g.imageEl;if(t.limitToOriginalSize&&s&&s.naturalWidth){const t=s.naturalWidth/s.offsetWidth;return Math.min(t,i)}return i}function E(e){const i=t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.target;return!!s&&(!!s.matches(i)||t.slides.filter((t=>t.contains(s))).length>0)}function C(e){const i=`.${n().containerClass}`,s=e.target;return!!s&&(!!s.matches(i)||[...t.hostEl.querySelectorAll(i)].filter((t=>t.contains(s))).length>0)}function A(e){if("mouse"===e.pointerType&&p.splice(0,p.length),!E(e))return;const i=n();if(c=!1,u=!1,p.push(e),!(p.length<2)){if(c=!0,g.scaleStart=w(),!g.slideEl){const s=e.target;g.slideEl=s?.closest(`.${t.params.slideClass}, swiper-slide`)??void 0,g.slideEl||(g.slideEl=t.slides[t.activeIndex]);let n=g.slideEl?.querySelector(`.${i.containerClass}`)??null;if(n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]??null),g.imageEl=n??void 0,g.imageWrapEl=n?v(n,`.${i.containerClass}`)[0]??void 0:void 0,!g.imageWrapEl)return void(g.imageEl=void 0);g.maxRatio=S()}if(g.imageEl){const[t,e]=function(){if(p.length<2||!g.imageEl)return[null,
45null];const t=g.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-t.x-window.scrollX)/r,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-t.y-window.scrollY)/r]}();g.originX=t??0,g.originY=e??0,g.imageEl.style.transitionDuration="0ms"}a=!0}}function T(e){if(!E(e))return;const i=n(),s=t.zoom,o=p.findIndex((t=>t.pointerId===e.pointerId));o>=0&&(p[o]=e),p.length<2||(u=!0,g.scaleMove=w(),g.imageEl&&(s.scale=g.scaleMove/(g.scaleStart??1)*r,s.scale>g.maxRatio&&(s.scale=g.maxRatio-1+(s.scale-g.maxRatio+1)**.5),s.scale<i.minRatio&&(s.scale=i.minRatio+1-(i.minRatio-s.scale+1)**.5),g.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`))}function k(e){if(!E(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const i=n(),s=t.zoom,o=p.findIndex((t=>t.pointerId===e.pointerId));o>=0&&p.splice(o,1),c&&u&&(c=!1,u=!1,g.imageEl&&(s.scale=Math.max(Math.min(s.scale,g.maxRatio),i.minRatio),g.imageEl.style.transitionDuration=`${t.params.speed}ms`,g.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`,r=s.scale,a=!1,s.scale>1&&g.slideEl?g.slideEl.classList.add(`${i.zoomedSlideClass}`):s.scale<=1&&g.slideEl&&g.slideEl.classList.remove(`${i.zoomedSlideClass}`),1===s.scale&&(g.originX=0,g.originY=0,g.slideEl=void 0)))}function M(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function O(e){const i="mouse"===e.pointerType&&n().panOnMouseMove;if(!E(e)||!C(e))return;const s=t.zoom;if(!g.imageEl)return;if(!m.isTouched||!g.slideEl)return void(i&&_(e));if(i)return void _(e);m.isMoved||(m.width=g.imageEl.offsetWidth||g.imageEl.clientWidth,m.height=g.imageEl.offsetHeight||g.imageEl.clientHeight,m.startX=o(g.imageWrapEl,"x")||0,m.startY=o(g.imageWrapEl,"y")||0,g.slideWidth=g.slideEl.offsetWidth,g.slideHeight=g.slideEl.offsetHeight,g.imageWrapEl.style.transitionDuration="0ms");const l=m.width*s.scale,h=m.height*s.scale;m.minX=Math.min(g.slideWidth/2-l/2,0),m.maxX=-m.minX,m.minY=Math.min(g.slideHeight/2-h/2,0),m.maxY=-m.minY,m.touchesCurrent.x=p.length>0?p[0].pageX:e.pageX,m.touchesCurrent.y=p.length>0?p[0].pageY:e.pageY;Math.max(Math.abs(m.touchesCurrent.x-(m.touchesStart.x??0)),Math.abs(m.touchesCurrent.y-(m.touchesStart.y??0)))>5&&(t.allowClick=!1);const c=m.startX??0,d=m.startY??0;if(!m.isMoved&&!a){if(t.isHorizontal()&&(Math.floor(m.minX)===Math.floor(c)&&m.touchesCurrent.x<(m.touchesStart.x??0)||Math.floor(m.maxX)===Math.floor(c)&&m.touchesCurrent.x>(m.touchesStart.x??0)))return m.isTouched=!1,void M();if(!t.isHorizontal()&&(Math.floor(m.minY)===Math.floor(d)&&m.touchesCurrent.y<(m.touchesStart.y??0)||Math.floor(m.maxY)===Math.floor(d)&&m.touchesCurrent.y>(m.touchesStart.y??0)))return m.isTouched=!1,void M()}e.cancelable&&e.preventDefault(),e.stopPropagation(),void 0!==y&&clearTimeout(y),t.touchEventsData.preventTouchMoveFromPointerMove=!0,y=setTimeout((()=>{t.destroyed||M()})),m.isMoved=!0;const u=(s.scale-r)/(g.maxRatio-n().minRatio),{originX:f,originY:v}=g;m.currentX=m.touchesCurrent.x-(m.touchesStart.x??0)+c+u*(m.width-2*f),m.currentY=m.touchesCurrent.y-(m.touchesStart.y??0)+d+u*(m.height-2*v),m.currentX<m.minX&&(m.currentX=m.minX+1-(m.minX-m.currentX+1)**.8),m.currentX>m.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentY<m.minY&&(m.currentY=m.minY+1-(m.minY-m.currentY+1)**.8),m.currentY>m.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),b.prevPositionX||(b.prevPositionX=m.touchesCurrent.x),b.prevPositionY||(b.prevPositionY=m.touchesCurrent.y),b.prevTime||(b.prevTime=Date.now()),b.x=(m.touchesCurrent.x-b.prevPositionX)/(Date.now()-b.prevTime)/2,b.y=(m.touchesCurrent.y-b.prevPositionY)/(Date.now()-b.prevTime)/2,Math.abs(m.touchesCurrent.x-b.prevPositionX)<2&&(b.x=0),Math.abs(m.touchesCurrent.y-b.prevPositionY)<2&&(b.y=0),b.prevPositionX=m.touchesCurrent.x,b.prevPositionY=m.touchesCurrent.y,b.prevTime=Date.now(),g.imageWrapEl.style.transform=`translate3d(${m.currentX}px, ${m.currentY}px,0)`}function L(){const e=t.zoom;g.slideEl&&t.activeIndex!==t.slides.indexOf(g.slideEl)&&(g.imageEl&&(g.imageEl.style.transform="translate3d(0,0,0) scale(1)"),g.imageWrapEl&&(g.imageWrapEl.style.transform="translate3d(0,
450,0)"),g.slideEl.classList.remove(`${n().zoomedSlideClass}`),e.scale=1,r=1,g.slideEl=void 0,g.imageEl=void 0,g.imageWrapEl=void 0,g.originX=0,g.originY=0)}function _(t){if(r<=1||!g.imageWrapEl)return;if(!E(t)||!C(t))return;const e=window.getComputedStyle(g.imageWrapEl).transform,i=new window.DOMMatrix(e);if(!l)return l=!0,h.x=t.clientX,h.y=t.clientY,m.startX=i.e,m.startY=i.f,m.width=g.imageEl.offsetWidth||g.imageEl.clientWidth,m.height=g.imageEl.offsetHeight||g.imageEl.clientHeight,g.slideWidth=g.slideEl.offsetWidth,void(g.slideHeight=g.slideEl.offsetHeight);const s=-3*(t.clientX-h.x),n=-3*(t.clientY-h.y),o=m.width*r,a=m.height*r,c=g.slideWidth,d=g.slideHeight,u=Math.min(c/2-o/2,0),p=-u,f=Math.min(d/2-a/2,0),v=-f,b=Math.max(Math.min(m.startX+s,p),u),y=Math.max(Math.min(m.startY+n,v),f);g.imageWrapEl.style.transitionDuration="0ms",g.imageWrapEl.style.transform=`translate3d(${b}px, ${y}px, 0)`,h.x=t.clientX,h.y=t.clientY,m.startX=b,m.startY=y,m.currentX=b,m.currentY=y}function P(e){const i=t.zoom,s=n();if(!g.slideEl){if(e&&"number"!=typeof e&&"target"in e&&e.target&&(g.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)??void 0),!g.slideEl){const e=t.params.virtual;e&&e.enabled&&t.virtual?g.slideEl=d(t.slidesEl,`.${t.params.slideActiveClass}`)[0]??void 0:g.slideEl=t.slides[t.activeIndex]}let i=g.slideEl?.querySelector(`.${s.containerClass}`)??null;i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]??null),g.imageEl=i??void 0,g.imageWrapEl=i?v(i,`.${s.containerClass}`)[0]??void 0:void 0}if(!g.imageEl||!g.imageWrapEl||!g.slideEl)return;let o,a,l,h,c,u,p,b,y,x,w,E,C,A,T,k,M,O;g.maxRatio=S(),t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),g.slideEl.classList.add(`${s.zoomedSlideClass}`);const L=e&&"number"!=typeof e;void 0===m.touchesStart.x&&L?(o=e.pageX,a=e.pageY):(o=m.touchesStart.x,a=m.touchesStart.y);const _=r,P="number"==typeof e?e:null;1===r&&P&&(o=void 0,a=void 0,m.touchesStart.x=void 0,m.touchesStart.y=void 0);const D=S();i.scale=P||D,r=P||D,!e||1===r&&P?(p=0,b=0):(M=g.slideEl.offsetWidth,O=g.slideEl.offsetHeight,l=f(g.slideEl).left+window.scrollX,h=f(g.slideEl).top+window.scrollY,c=l+M/2-(o??0),u=h+O/2-(a??0),y=g.imageEl.offsetWidth||g.imageEl.clientWidth,x=g.imageEl.offsetHeight||g.imageEl.clientHeight,w=y*i.scale,E=x*i.scale,C=Math.min(M/2-w/2,0),A=Math.min(O/2-E/2,0),T=-C,k=-A,_>0&&P&&"number"==typeof m.currentX&&"number"==typeof m.currentY?(p=m.currentX*i.scale/_,b=m.currentY*i.scale/_):(p=c*i.scale,b=u*i.scale),p<C&&(p=C),p>T&&(p=T),b<A&&(b=A),b>k&&(b=k)),P&&1===i.scale&&(g.originX=0,g.originY=0),m.currentX=p,m.currentY=b,g.imageWrapEl.style.transitionDuration="300ms",g.imageWrapEl.style.transform=`translate3d(${p}px, ${b}px,0)`,g.imageEl.style.transitionDuration="300ms",g.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`}function D(){const e=t.zoom,i=n();if(!g.slideEl){const e=t.params.virtual;e&&e.enabled&&t.virtual?g.slideEl=d(t.slidesEl,`.${t.params.slideActiveClass}`)[0]??void 0:g.slideEl=t.slides[t.activeIndex];let s=g.slideEl?.querySelector(`.${i.containerClass}`)??null;s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]??null),g.imageEl=s??void 0,g.imageWrapEl=s?v(s,`.${i.containerClass}`)[0]??void 0:void 0}g.imageEl&&g.imageWrapEl&&g.slideEl&&(g.maxRatio=S(),t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,r=1,m.currentX=void 0,m.currentY=void 0,m.touchesStart.x=void 0,m.touchesStart.y=void 0,g.imageWrapEl.style.transitionDuration="300ms",g.imageWrapEl.style.transform="translate3d(0,0,0)",g.imageEl.style.transitionDuration="300ms",g.imageEl.style.transform="translate3d(0,0,0) scale(1)",g.slideEl.classList.remove(`${i.zoomedSlideClass}`),g.slideEl=void 0,g.originX=0,g.originY=0,i.panOnMouseMove&&(h={x:0,y:0},l&&(l=!1,m.startX=0,m.startY=0)))}function I(e){const i=t.zoom;i.scale&&1!==i.scale?D():P(e)}function B(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function N(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:i,activeListenerWithCapture:s}=B();t.wrapperEl.addEventListener("pointerdown",A,i),t.wrapperEl.addEventListener("pointermove",T,s),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,k,i)})),t.wrapperEl.addEventListener("pointermove",O,s)}function z(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:i,activeListenerWithCapture:s}=B();t.wrapperEl.removeEventListener("pointerdown",A,i),t.wrapperEl.removeEventListener("pointermove",T,s),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,k,i)})),t.wrapperEl.removeEventListener("pointermove",O,s)}Object.defineProperty(t.zoom,"scale",{get:()=>x,set(t){if(x!==t){const e=g.imageEl,i=g.slideEl;s("zoomChange",t,e,i)}x=t}}),i("init",(()=>{n().enabled&&N()})),i("destroy",(()=>{z()})),i("touchStart",((e,i)=>{t.zoom.enabled&&function(e){const i=t.device;if(m.isTouched)return;const s=p.length>0?p[0]:e;m.touchesStart.x=s.pageX,m.touchesStart.y=s.pageY,g.imageEl&&(i.android&&e.cancelable&&e.preventDefault(),m.isTouched=!0)}(i)})),i("touchEnd",(()=>{t.zoom.enabled&&function(){const e=t.zoom;if(p.length=0,!g.imageEl)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let i=300,s=300;const n=b.x??0,r=b.y??0,o=n*i,a=m.currentX+o,l=r*s,h=m.currentY+l;0!==n&&(i=Math.abs((a-m.currentX)/n)),0!==r&&(s=Math.abs((h-m.currentY)/r));const c=Math.max(i,s);m.currentX=a,m.currentY=h;const d=m.width*e.scale,u=m.height*e.scale;m.minX=Math.min(g.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(g.slideHeight/2-u/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),g.imageWrapEl.style.transitionDuration=`${c}ms`,g.imageWrapEl.style.transform=`translate3d(${m.currentX}px, ${m.currentY}px,0)`}()})),i("doubleTap",((e,i)=>{!t.animating&&n().enabled&&t.zoom.enabled&&n().toggle&&I(i)})),i("transitionEnd",(()=>{t.zoom.enabled&&n().enabled&&L()})),i("slideChange",(()=>{t.zoom.enabled&&n().enabled&&t.params.cssMode&&L()}
45)),Object.assign(t.zoom,{enable:N,disable:z,in:P,out:D,toggle:I})},({swiper:t,extendParams:e,on:i})=>{function s(){return t.params.controller}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}e({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",(()=>{const e=s().control;if("undefined"!=typeof window&&("string"==typeof e||e instanceof HTMLElement)){("string"==typeof e?[...document.querySelectorAll(e)]:[e]).forEach((e=>{t.controller.control||(t.controller.control=[]);const i=t.controller.control;if(e&&e.swiper)i.push(e.swiper);else if(e){const s=`${t.params.eventsPrefix}init`,n=r=>{const o=r.detail;o&&o[0]&&i.push(o[0]),t.update(),e.removeEventListener(s,n)};e.addEventListener(s,n)}}))}else t.controller.control=e})),i("update",(()=>{r()})),i("resize",(()=>{r()})),i("observerUpdate",(()=>{r()})),i("setTranslate",((e,i,s)=>{t.controller.control&&(!Array.isArray(t.controller.control)&&t.controller.control.destroyed||t.controller.setTranslate(i,s))})),i("setTransition",((e,i,s)=>{t.controller.control&&(!Array.isArray(t.controller.control)&&t.controller.control.destroyed||t.controller.setTransition(i,s))})),Object.assign(t.controller,{setTranslate:function(e,i){const n=t.controller.control;let r,o;const a=t.constructor;function l(e){if(e.destroyed)return;const i=t.rtlTranslate?-t.translate:t.translate,n=s();"slide"===n.by?(!function(e){t.controller.spline=t.params.loop?new mt(t.slidesGrid,e.slidesGrid):new mt(t.snapGrid,e.snapGrid)}(e),o=-t.controller.spline.interpolate(-i)):o=0,o&&"container"!==n.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),o=(i-t.minTranslate())*r+e.minTranslate()),n.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(let t=0;t<n.length;t+=1){const e=n[t];e&&e!==i&&e instanceof a&&l(e)}else n instanceof a&&i!==n&&l(n)},setTransition:function(e,i){const s=t.constructor,r=t.controller.control;function o(i){i.destroyed||(i.setTransition(e,t),0!==e&&(i.transitionStart(),i.params.autoHeight&&n((()=>{i.updateAutoHeight()})),b(i.wrapperEl,(()=>{r&&i.transitionEnd()}))))}if(Array.isArray(r))for(let t=0;t<r.length;t+=1){const e=r[t];e&&e!==i&&e instanceof s&&o(e)}else r instanceof s&&i!==r&&o(r)}})},({swiper:t,extendParams:e,on:i})=>{e({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),t.a11y={clicked:!1};let s,n=null,r=!1,o=(new Date).getTime();function a(){return t.params.a11y}function l(t){n&&t&&S(n,t)}function h(t){x(t).forEach((t=>{t.setAttribute("tabIndex","0")}))}function c(t){x(t).forEach((t=>{t.setAttribute("tabIndex","-1")}))}function d(t,e){x(t).forEach((t=>{t.setAttribute("role",e)}))}function u(t,e){x(t).forEach((t=>{t.setAttribute("aria-roledescription",e)}))}function f(t,e){x(t).forEach((t=>{t.setAttribute("aria-label",e)}))}function g(t){x(t).forEach((t=>{t.setAttribute("aria-disabled","true")}))}function v(t){x(t).forEach((t=>{t.removeAttribute("aria-disabled")}))}function b(e){if(13!==e.keyCode&&32!==e.keyCode)return;const i=a(),s=t.params.pagination,n=e.target;if(!t.pagination||!t.pagination.el||n!==t.pagination.el&&!t.pagination.el.contains(n)||n.matches(ft(s?.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=x(t.navigation.prevEl);x(t.navigation.nextEl).includes(n)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?l(i.lastSlideMessage):l(i.nextSlideMessage)),e.includes(n)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?l(i.firstSlideMessage):l(i.prevSlideMessage))}t.pagination&&n.matches(ft(s?.bulletClass))&&n.click()}}function y(){return!!(t.pagination&&t.pagination.bullets&&t.pagination.bullets.length)}function w(){const e=t.params.pagination;return y()&&!!e?.clickable}const E=(t,e,i)=>{h(t),"BUTTON"!==t.tagName&&(d(t,"button"),t.addEventListener("keydown",b)),f(t,i)},C=e=>{s&&s!==e.target&&!s.contains(e.target)&&(r=!0),t.a11y.clicked=!0},A=()=>{r=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},T=t=>{o=(new Date).getTime()},k=e=>{const i=a();if(t.a11y.clicked||!i.scrollOnFocus)return;if((new Date).getTime()-o<100)return;const n=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!n||!t.slides.includes(n))return;s=n;const l=(t=>!!t.virtual&&!!t.params.virtual?.enabled)(t),h=(l?parseInt(n.getAttribute("data-swiper-slide-index")||"0",10):t.slides.indexOf(n))===t.activeIndex,c=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);if(h||c)return;const d=e.sourceCapabilities;d&&d.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>
45{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index")||"0",10)),0):l?t.slideTo(t.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index")||"0",10)),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(n)),0),r=!1)})))},M=()=>{const e=a();e.itemRoleDescriptionMessage&&u(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&d(t.slides,e.slideRole);const i=t.slides.length,s=e.slideLabelMessage;s&&t.slides.forEach(((e,n)=>{const r=t.params.loop?parseInt(e.getAttribute("data-swiper-slide-index")||"0",10):n;f(e,s.replace(/\{\{index\}\}/,String(r+1)).replace(/\{\{slidesLength\}\}/,String(i)))}))},O=()=>{const e=a();n&&t.el.append(n);const i=t.el;e.containerRoleDescriptionMessage&&u(i,e.containerRoleDescriptionMessage),e.containerMessage&&f(i,e.containerMessage),e.containerRole&&d(i,e.containerRole);const s=t.wrapperEl,r=String(e.id||s.getAttribute("id")||`swiper-wrapper-${function(t=16){return"x".repeat(t).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`);var o;
45if(o=r,x(s).forEach((t=>{t.setAttribute("id",o)})),e.wrapperLiveRegion){const e=t.params.autoplay;!function(t,e){x(t).forEach((t=>{t.setAttribute("aria-live",e)}))}(s,t.params.autoplay&&e?.enabled?"off":"polite")}M();const l=t.navigation?t.navigation:{nextEl:void 0,prevEl:void 0},h=x(l.nextEl),c=x(l.prevEl);if(h&&h.forEach((t=>E(t,0,e.nextSlideMessage))),c&&c.forEach((t=>E(t,0,e.prevSlideMessage))),w()){x(t.pagination.el).forEach((t=>{t.addEventListener("keydown",b)}))}document.addEventListener("visibilitychange",T),t.el.addEventListener("focus",k,!0),t.el.addEventListener("pointerdown",C,!0),t.el.addEventListener("pointerup",A,!0)};i("beforeInit",(()=>{n=p("span",a().notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{a().enabled&&O()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{a().enabled&&M()})),i("fromEdge toEdge afterInit lock unlock",(()=>{a().enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:i}=t.navigation;i&&(t.isBeginning?(g(i),c(i)):(v(i),h(i))),e&&(t.isEnd?(g(e),c(e)):(v(e),h(e)))}()})),i("paginationUpdate",(()=>{a().enabled&&function(){const e=a();if(!y())return;const i=t.params.pagination;t.pagination.bullets.forEach((t=>{i.clickable&&(h(t),i.renderBullet||(d(t,"button"),f(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,String((m(t)??0)+1))))),t.matches(ft(i.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{a().enabled&&function(){n&&n.remove();const e=t.navigation?t.navigation:{nextEl:void 0,prevEl:void 0},i=x(e.nextEl),s=x(e.prevEl);i&&i.forEach((t=>t.removeEventListener("keydown",b))),s&&s.forEach((t=>t.removeEventListener("keydown",b))),w()&&x(t.pagination.el).forEach((t=>{t.removeEventListener("keydown",b)}));document.removeEventListener("visibilitychange",T),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",k,!0),t.el.removeEventListener("pointerdown",C,!0),t.el.removeEventListener("pointerup",A,!0))}()}))},({swiper:t,extendParams:e,on:i})=>{e({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let s=!1,n={key:void 0,value:void 0};function r(){return t.params.history}const o=t=>t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=t=>{let e;e=t?new URL(t):window.location;const i=e.pathname.slice(1).split("/").filter((t=>""!==t)),s=i.length;return{key:i[s-2],value:i[s-1]}},l=(e,i)=>{const n=r();if(!s||!n.enabled)return;let a;a=t.params.url?new URL(t.params.url):window.location;const l=!!t.params.virtual?.enabled,h=t.virtual&&l?t.slidesEl.querySelector(`[data-swiper-slide-index="${i}"]`):t.slides[i];if(!h)return;let c=o(h.getAttribute("data-history")||"");const d=n.root;if(d.length>0){c=`${"/"===d[d.length-1]?d.slice(0,d.length-1):d}/${e?`${e}/`:""}${c}`}else a.pathname.includes(e||"")||(c=`${e?`${e}/`:""}${c}`);n.keepQuery&&(c+=a.search);const u=window.history.state;u&&u.value===c||(n.replaceState?window.history.replaceState({value:c},"",c):window.history.pushState({value:c},"",c))},h=(e,i,s)=>{if(i)for(let n=0,r=t.slides.length;n<r;n+=1){const r=t.slides[n];if(o(r.getAttribute("data-history")||"")===i){const i=t.getSlideIndex(r);t.slideTo(i,e,s)}}else t.slideTo(0,e,s)},c=()=>{n=a(t.params.url),h(t.params.speed,n.value,!1)};i("init",(()=>{r().enabled&&(()=>{const e=t.params.history;if(e)if(window.history&&window.history.pushState)s=!0,n=a(t.params.url),n.key||n.value?(h(0,n.value,t.params.runCallbacksOnInit),e.replaceState||window.addEventListener("popstate",c)):e.replaceState||window.addEventListener("popstate",c);else{e.enabled=!1;const i=t.params.hashNavigation;i&&(i.enabled=!0)}})()})),i("destroy",(()=>{r().enabled&&(r().replaceState||window.removeEventListener("popstate",c))})),i("transitionEnd _freeModeNoMomentumRelease",(()=>{s&&l(r().key,t.activeIndex)})),i("slideChange",(()=>{s&&t.params.cssMode&&l(r().key,t.activeIndex)}))},({swiper:t,extendParams:e,emit:i,on:s})=>{let n=!1;function r(){return t.params.hashNavigation}e({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,i){if(vt(t)){const e=t.slides.find((t=>t.getAttribute("data-hash")===i));if(!e)return 0;return parseInt(e.getAttribute("data-swiper-slide-index")||"0",10)}const s=d(t.slidesEl,`.${t.params.slideClass}[data-hash="${i}"], swiper-slide[data-hash="${i}"]`)[0];return s?t.getSlideIndex(s):0}}});const o=()=>{i("hashChange");const e=document.location.hash.replace("#",""),s=vt(t)?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(s?s.getAttribute("data-hash"):"")){const i=r().getSlideIndex(t,e);if(void 0===i||Number.isNaN(i))return;t.slideTo(i)}},a=()=>{const e=r();if(!n||!e.enabled)return;const s=vt(t)?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],o=s?s.getAttribute("data-hash")||s.getAttribute("data-history"):"";e.replaceState&&window.history&&window.history.replaceState?(window.history.replaceState(null,"",`#${o}`||""),i("hashSet")):(document.location.hash=o||"",i("hashSet"))};s("init",(()=>{r().enabled&&(()=>{const e=r(),i=t.params.history;if(!e.enabled||i&&i.enabled)return;n=!0;const s=document.location.hash.replace("#","");if(s){const i=0,n=e.getSlideIndex(t,s);t.slideTo(n||0,i,t.params.runCallbacksOnInit,!0)}e.watchState&&window.addEventListener("hashchange",o)})()})),s("destroy",(()=>{r().enabled&&r().watchState&&window.removeEventListener("hashchange",o)})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&a()})),s("slideChange",(()=>{n&&t.params.cssMode&&a()}))},({swiper:t,extendParams:e,on:i,emit:s,params:n})=>{function r(){return t.params.autoplay}
45t.autoplay={running:!1,paused:!1,timeLeft:0},e({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});const o="object"==typeof n.autoplay&&n.autoplay&&"number"==typeof n.autoplay.delay?n.autoplay.delay:3e3;let a,l,h,c=o,d=o,u=0,p=(new Date).getTime(),f=!1,g=!1,m=!1,v=!1,b=!1;function y(e){if(!t||t.destroyed||!t.wrapperEl)return;if(e.target!==t.wrapperEl)return;t.wrapperEl.removeEventListener("transitionend",y);const i=e.detail;b||i&&i.bySwiperTouchMove||T()}const x=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(d=u,f=!1);const e=t.autoplay.paused?u:p+d-(new Date).getTime();t.autoplay.timeLeft=e,s("autoplayTimeLeft",e,e/c),l=requestAnimationFrame((()=>{x()}))},w=()=>{let e=r().delay;const i=(()=>{let e;const i=!!t.params.virtual?.enabled;if(e=t.virtual&&i?t.slides.find((t=>t.classList.contains("swiper-slide-active"))):t.slides[t.activeIndex],!e)return;const s=e.getAttribute("data-swiper-autoplay");return null!=s?parseInt(s,10):void 0})();return"number"==typeof i&&!Number.isNaN(i)&&i>0&&(e=i),e},S=e=>{if(t.destroyed||!t.autoplay.running)return 0;void 0!==l&&cancelAnimationFrame(l),x();let i=e;void 0===i&&(i=w(),c=i,d=i),u=i;const n=t.params.speed,o=()=>{if(!t||t.destroyed)return;const e=r();e.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(n,!0,!0),s("autoplay")):e.stopOnLastSlide||(t.slideTo(t.slides.length-1,n,!0,!0),s("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(n,!0,!0),s("autoplay")):e.stopOnLastSlide||(t.slideTo(0,n,!0,!0),s("autoplay")),t.params.cssMode&&(p=(new Date).getTime(),requestAnimationFrame((()=>{S()})))};return i>0?(void 0!==a&&clearTimeout(a),a=setTimeout((()=>{o()}),i)):requestAnimationFrame((()=>{o()})),i},E=()=>(p=(new Date).getTime(),t.autoplay.running=!0,S(),s("autoplayStart"),!0),C=()=>(t.autoplay.running=!1,void 0!==a&&clearTimeout(a),void 0!==l&&cancelAnimationFrame(l),s("autoplayStop"),!0),A=(e,i)=>{if(t.destroyed||!t.autoplay.running)return;void 0!==a&&clearTimeout(a),e||(v=!0);const n=()=>{s("autoplayPause"),r().waitForTransition?t.wrapperEl.addEventListener("transitionend",y):T()};if(t.autoplay.paused=!0,i)return void n();const o=u||r().delay;u=o-((new Date).getTime()-p),t.isEnd&&u<0&&!t.params.loop||(u<0&&(u=0),n())},T=()=>{t.isEnd&&u<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(p=(new Date).getTime(),v?(v=!1,S(u)):S(),t.autoplay.paused=!1,s("autoplayResume"))},k=()=>{!t.destroyed&&t.autoplay.running&&("hidden"===document.visibilityState&&(v=!0,A(!0)),"visible"===document.visibilityState&&T())},M=e=>{"mouse"===e.pointerType&&(v=!0,b=!0,t.animating||t.autoplay.paused||A(!0))},O=e=>{"mouse"===e.pointerType&&(b=!1,t.autoplay.paused&&T())};i("init",(()=>{r().enabled&&(r().pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",M),t.el.addEventListener("pointerleave",O)),document.addEventListener("visibilitychange",k),E())})),i("destroy",(()=>{t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("pointerenter",M),t.el.removeEventListener("pointerleave",O)),document.removeEventListener("visibilitychange",k),t.autoplay.running&&C()})),i("_freeModeStaticRelease",(()=>{(m||v)&&T()})),i("_freeModeNoMomentumRelease",(()=>{r().disableOnInteraction?C():A(!0,!0)})),i("beforeTransitionStart",((e,i,s)=>{!t.destroyed&&t.autoplay.running&&(s||!r().disableOnInteraction?A(!0,!0):C())})),i("sliderFirstMove",(()=>{!t.destroyed&&t.autoplay.running&&(r().disableOnInteraction?C():(g=!0,m=!1,v=!1,h=setTimeout((()=>{v=!0,m=!0,A(!0)}),200)))})),i("touchEnd",(()=>{if(!t.destroyed&&t.autoplay.running&&g){if(void 0!==h&&clearTimeout(h),void 0!==a&&clearTimeout(a),r().disableOnInteraction)return m=!1,void(g=!1);m&&t.params.cssMode&&T(),m=!1,g=!1}})),i("slideChange",(()=>{!t.destroyed&&t.autoplay.running&&t.autoplay.paused&&(u=w(),c=w())})),Object.assign(t.autoplay,{start:E,stop:C,pause:A,resume:T})},({swiper:t,extendParams:e,on:i})=>{e({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,n=!1;function r(){return t.params.thumbs}function o(){const e=t.thumbs.swiper;if(!e||e.destroyed)return!1;const i=e.params.virtual;return!!i&&!!i.enabled}function l(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,s=e.clickedSlide,n=r();if(s&&s.classList.contains(n.slideThumbActiveClass))return;if(null==i)return;let o;if(e.params.loop){const t=e.clickedSlide?.getAttribute("data-swiper-slide-index");o=null==t?i:parseInt(t,10)}else o=i;t.params.loop?t.slideToLoop(o):t.slideTo(o)}function h(){const e=r();if(s)return!1;s=!0;const i=t.constructor;if(e.swiper instanceof i){if(e.swiper.destroyed)return s=!1,!1;const i=e.swiper;t.thumbs.swiper=i,Object.assign(i.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(i.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),i.update()}else if(a(e.swiper)){const s=Object.assign({},e.swiper);Object.assign(s,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new i(s),n=!0}const h=t.thumbs.swiper;return!!h&&(h.el.classList.add(e.thumbsContainerClass),h.on("tap",l),o()&&h.on("virtualUpdate",(()=>{c(!1,{autoScroll:!1})}
45)),!0)}function c(e,i){const s=t.thumbs.swiper;if(!s||s.destroyed)return;let n=1;const a=r(),l=a.slideThumbActiveClass,h=t.params.slidesPerView;if("number"==typeof h&&h>1&&!t.params.centeredSlides&&(n=h),a.multipleActiveThumbs||(n=1),n=Math.floor(n),s.slides.forEach((t=>t.classList.remove(l))),s.params.loop||o())for(let e=0;e<n;e+=1)d(s.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach((t=>{t.classList.add(l)}));else for(let e=0;e<n;e+=1){const i=s.slides[t.realIndex+e];i&&i.classList.add(l)}(i?.autoScroll??1)&&function(e){const i=t.thumbs.swiper;if(!i||i.destroyed)return;const s=i.params.slidesPerView,n="auto"===s?i.slidesPerViewDynamic():s??1,o=r().autoScrollOffset,a=o&&!i.params.loop;if(t.realIndex!==i.realIndex||a){const s=i.activeIndex;let r,l;if(i.params.loop){const e=i.slides.find((e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`));r=e?i.slides.indexOf(e):-1,l=t.activeIndex>t.previousIndex?"next":"prev"}else r=t.realIndex,l=r>t.previousIndex?"next":"prev";a&&(r+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(r)<0&&(i.params.centeredSlides?r=r>s?r-Math.floor(n/2)+1:r+Math.floor(n/2)-1:r>s&&i.params.slidesPerGroup,i.slideTo(r,e))}}(e?0:void 0)}t.thumbs={swiper:null},i("beforeInit",(()=>{const e=t.params.thumbs;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const i=()=>{const i="string"==typeof e.swiper?document.querySelector(e.swiper):e.swiper;if(i&&i.swiper)e.swiper=i.swiper,h(),c(!0);else if(i){const s=`${t.params.eventsPrefix}init`,n=r=>{const o=r.detail;e.swiper=o[0],i.removeEventListener(s,n),h(),c(!0),e.swiper.update(),t.update()};i.addEventListener(s,n)}return i},s=()=>
45{if(t.destroyed)return;i()||requestAnimationFrame(s)};requestAnimationFrame(s)}else h(),c(!0)})),i("slideChange update resize observerUpdate",(()=>{c()})),i("setTransition",((e,i)=>{const s=t.thumbs.swiper;s&&!s.destroyed&&s.setTransition(i)})),i("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&n&&e.destroy()})),Object.assign(t.thumbs,{init:h,update:c})},({swiper:t,extendParams:e,emit:i,once:s})=>{e({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),t.freeMode={onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:i}=t;0===e.velocities.length&&e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime??r()}),e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:r()})},onTouchEnd:function({currentPos:e}){if(t.params.cssMode)return;const{wrapperEl:n,rtlTranslate:o,snapGrid:a,touchEventsData:l}=t,h=t.params,c=t.params.freeMode,d=r(),u=d-(l.touchStartTime??d);if(e<-t.minTranslate())t.slideTo(t.activeIndex);else if(e>-t.maxTranslate())t.slides.length<a.length?t.slideTo(a.length-1):t.slideTo(t.slides.length-1);else{if(c.momentum){if(l.velocities.length>1){const e=l.velocities.pop(),i=l.velocities.pop(),s=e.position-i.position,n=e.time-i.time;t.velocity=s/n,t.velocity/=2,Math.abs(t.velocity)<c.minimumVelocity&&(t.velocity=0),(n>150||r()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=c.momentumVelocityRatio,l.velocities.length=0;let e=1e3*c.momentumRatio;const d=t.velocity*e;let u=t.translate+d;o&&(u=-u);let p,f=!1;const g=20*Math.abs(t.velocity)*c.momentumBounceRatio;let m=!1;if(u<t.maxTranslate())c.momentumBounce?(u+t.maxTranslate()<-g&&(u=t.maxTranslate()-g),p=t.maxTranslate(),f=!0,l.allowMomentumBounce=!0):u=t.maxTranslate(),h.loop&&h.centeredSlides&&(m=!0);else if(u>t.minTranslate())c.momentumBounce?(u-t.minTranslate()>g&&(u=t.minTranslate()+g),p=t.minTranslate(),f=!0,l.allowMomentumBounce=!0):u=t.minTranslate(),h.loop&&h.centeredSlides&&(m=!0);else if(c.sticky){let e=0;for(let t=0;t<a.length;t+=1)if(a[t]>-u){e=t;break}u=Math.abs(a[e]-u)<Math.abs((a[e-1]??a[e])-u)||"next"===t.swipeDirection?a[e]:a[e-1],u=-u}if(m&&s("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-u-t.translate)/t.velocity):Math.abs((u-t.translate)/t.velocity),c.sticky){const i=Math.abs((o?-u:u)-t.translate),s=t.slidesSizesGrid[t.activeIndex],n=h.speed;e=i<s?n:i<2*s?1.5*n:2.5*n}}else if(c.sticky)return void t.slideToClosest();c.momentumBounce&&f&&void 0!==p?(t.updateProgress(p),t.setTransition(e),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating=!0,b(n,(()=>{t&&!t.destroyed&&l.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(h.speed),setTimeout((()=>{t.setTranslate(p),b(n,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(u),t.setTransition(e),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,b(n,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(u),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(c.sticky)return void t.slideToClosest();i("_freeModeNoMomentumRelease")}(!c.momentum||u>=h.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}},({swiper:t,extendParams:e,on:i})=>{function s(){return t.params.grid}let n,r,o,a;e({grid:{rows:1,fill:"column"}});const l=()=>{let e=t.params.spaceBetween??0;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*t.size:"string"==typeof e&&(e=parseFloat(e)),e},h=()=>{const e=t.params.virtual;return!!t.virtual&&"object"==typeof e&&null!==e&&!!e.enabled};i("init",(()=>{const e=t.params.grid;a=!!(e&&(e.rows??1)>1)})),i("update",(()=>{const{params:e,el:i}=t,s=e.grid,n=!!(s&&(s.rows??1)>1);a&&!n?(i.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),o=1,t.emitContainerClasses()):!a&&n&&(i.classList.add(`${e.containerModifierClass}grid`),"column"===s.fill&&i.classList.add(`${e.containerModifierClass}grid-column`),t.emitContainerClasses()),a=n})),t.grid={initSlides:e=>{const{slidesPerView:i}=t.params,{rows:a,fill:l}=s(),c=h()?t.virtual.slides.length:e.length;o=Math.floor(c/a),n=Math.floor(c/a)===c/a?c:Math.ceil(c/a)*a,"auto"!==i&&"row"===l&&(n=Math.max(n,Math.floor(i??1)*a)),r=n/a},unsetSlides:()=>
45{t.slides&&t.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style.setProperty(t.getDirectionLabel("margin-top"),""))}))},updateSlide:(e,i,a)=>{const{slidesPerGroup:c}=t.params,d=l(),{rows:u,fill:p}=s(),f=h()?t.virtual.slides.length:a.length;let g,m,v;if("row"===p&&(c??1)>1){const t=c??1,s=Math.floor(e/(t*u)),r=e-u*t*s,o=0===s?t:Math.min(Math.ceil((f-s*u*t)/u),t);v=Math.floor(r/o),m=r-v*o+s*t,g=m+v*n/u,i.style.order=String(g)}else"column"===p?(m=Math.floor(e/u),v=e-m*u,(m>o||m===o&&v===u-1)&&(v+=1,v>=u&&(v=0,m+=1))):(v=Math.floor(e/r),m=e-v*r);const b=i;b.row=v,b.column=m,i.style.height=`calc((100% - ${(u-1)*d}px) / ${u})`,i.style.setProperty(t.getDirectionLabel("margin-top"),0!==v&&d?`${d}px`:""),b.swiperSlideGridSet=!0},updateWrapperSize:(e,i)=>{const{centeredSlides:r,roundLengths:o}=t.params,a=l(),{rows:h}=s();if(t.virtualSize=(e+a)*n,t.virtualSize=Math.ceil(t.virtualSize/h)-a,t.params.cssMode||t.wrapperEl.style.setProperty(t.getDirectionLabel("width"),`${t.virtualSize+a}px`),r){const e=[];for(let s=0;s<i.length;s+=1){let n=i[s];o&&(n=Math.floor(n)),i[s]<t.virtualSize+i[0]&&e.push(n)}i.splice(0,i.length),i.push(...e)}}}},({swiper:t})=>{Object.assign(t,{appendSlide:yt.bind(t),prependSlide:xt.bind(t),addSlide:bt.bind(t),removeSlide:St.bind(t),removeAllSlides:wt.bind(t)})},({swiper:t,extendParams:e,on:i})=>{e({fadeEffect:{crossFade:!1}});Et({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t,i=t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const n=e[s];let r=-(n.swiperSlideOffset??0);t.params.virtualTranslate||(r-=t.translate);let o=0;t.isHorizontal()||(o=r,r=0);const a=n.progress??0,l=i.crossFade?Math.max(1-Math.abs(a),0):1+Math.min(Math.max(a,-1),0),h=Ct(0,n);h.style.opacity=String(l),h.style.transform=`translate3d(${r}px, ${o}px, 0px)`}},setTransition:e=>{const i=t.slides.map((t=>c(t)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`})),At({swiper:t,duration:e,transformElements:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},({swiper:t,extendParams:e,on:i})=>{e({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const s=(t,e,i)=>{let s=i?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),n=i?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");s||(s=p("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),t.append(s)),n||(n=p("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"right":"bottom")).split(" ")),t.append(n)),s&&(s.style.opacity=String(Math.max(-e,0))),n&&(n.style.opacity=String(Math.max(e,0)))};Et({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:i,slides:n,width:r,height:o,rtlTranslate:a,size:l}=t,h=w(t),c=t.params.cubeEffect,d=t.isHorizontal(),u=!(!t.virtual||!t.params.virtual?.enabled);let f=0,g=null;c.shadow&&(d?(g=t.wrapperEl.querySelector(".swiper-cube-shadow"),g||(g=p("div","swiper-cube-shadow"),t.wrapperEl.append(g)),g.style.height=`${r}px`):(g=e.querySelector(".swiper-cube-shadow"),g||(g=p("div","swiper-cube-shadow"),e.append(g))));for(let t=0;t<n.length;t+=1){const e=n[t];let i=t;u&&(i=parseInt(e.getAttribute("data-swiper-slide-index")??"0",10));let r=90*i,o=Math.floor(r/360);a&&(r=-r,o=Math.floor(-r/360));const p=Math.max(Math.min(e.progress??0,1),-1);let g=0,m=0,v=0;i%4==0?(g=4*-o*l,v=0):(i-1)%4==0?(g=0,v=4*-o*l):(i-2)%4==0?(g=l+4*o*l,v=l):(i-3)%4==0&&(g=-l,v=3*l+4*l*o),a&&(g=-g),d||(m=g,g=0);const b=`rotateX(${h(d?0:-r)}deg) rotateY(${h(d?r:0)}deg) translate3d(${g}px, ${m}px, ${v}px)`;p<=1&&p>-1&&(f=90*i+90*p,a&&(f=90*-i-90*p)),e.style.transform=b,c.slideShadows&&s(e,p,d)}if(i.style.transformOrigin=`50% 50% -${l/2}px`,i.style.setProperty("-webkit-transform-origin",`50% 50% -${l/2}px`),c.shadow&&g)if(d)g.style.transform=`translate3d(0px, ${r/2+c.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const t=Math.abs(f)-90*Math.floor(Math.abs(f)/90),e=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),i=c.shadowScale,s=c.shadowScale/e,n=c.shadowOffset;g.style.transform=`scale3d(${i}, 1, ${s}) translate3d(0px, ${o/2+n}px, ${-o/2/s}px) rotateX(-89.99deg)`}i.style.transform=`translate3d(0px,0,0px) rotateX(${h(t.isHorizontal()?0:f)}deg) rotateY(${h(t.isHorizontal()?-f:0)}deg)`,i.style.setProperty("--swiper-cube-translate-z","0px")},setTransition:e=>{const{el:i,slides:s}=t;if(s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect?.shadow&&!t.isHorizontal()){const t=i.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();
45t.slides.forEach((t=>{const i=Math.max(Math.min(t.progress??0,1),-1);s(t,i,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},({swiper:t,extendParams:e,on:i})=>{function s(){return t.params.flipEffect}e({flipEffect:{slideShadows:!0,limitRotation:!0}});const n=(e,i)=>{let s=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),n=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");s||(s=Tt("flip",e,t.isHorizontal()?"left":"top")),n||(n=Tt("flip",e,t.isHorizontal()?"right":"bottom")),s&&(s.style.opacity=String(Math.max(-i,0))),n&&(n.style.opacity=String(Math.max(i,0)))};Et({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:i}=t,r=s(),o=w(t);for(let s=0;s<e.length;s+=1){const a=e[s];let l=a.progress??0;r.limitRotation&&(l=Math.max(Math.min(l,1),-1));const h=a.swiperSlideOffset??0;let c=-180*l,d=0,u=t.params.cssMode?-h-t.translate:-h,p=0;t.isHorizontal()?i&&(c=-c):(p=u,u=0,d=-c,c=0),a.style.zIndex=String(-Math.abs(Math.round(l))+e.length),r.slideShadows&&n(a,l);const f=`translate3d(${u}px, ${p}px, 0px) rotateX(${o(d)}deg) rotateY(${o(c)}deg)`;Ct(0,a).style.transform=f}},setTransition:e=>{const i=t.slides.map((t=>c(t)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),At({swiper:t,duration:e,transformElements:i})},recreateShadows:()=>{const e=s();t.slides.forEach((t=>{let i=t.progress??0;e.limitRotation&&(i=Math.max(Math.min(i,1),-1)),n(t,i)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},({swiper:t,extendParams:e,on:i})=>{e({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}});Et({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:i,slides:s,slidesSizesGrid:n}=t,r=t.params.coverflowEffect,o=t.isHorizontal(),a=t.translate,l=o?e/2-a:i/2-a,h=o?r.rotate:-r.rotate,c=r.depth,d=w(t);for(let t=0,e=s.length;t<e;t+=1){const e=s[t],i=n[t],a=(l-(e.swiperSlideOffset??0)-i/2)/i,u="function"==typeof r.modifier?r.modifier(a):a*r.modifier;let p=o?h*u:0,f=o?0:h*u,g=-c*Math.abs(u),m="string"==typeof r.stretch&&-1!==r.stretch.indexOf("%")?parseFloat(r.stretch)/100*i:r.stretch,v=o?0:m*u,b=o?m*u:0,y=1-(1-r.scale)*Math.abs(u);Math.abs(b)<.001&&(b=0),Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(p)<.001&&(p=0),Math.abs(f)<.001&&(f=0),Math.abs(y)<.001&&(y=0);const x=`translate3d(${b}px,${v}px,${g}px)  rotateX(${d(f)}deg) rotateY(${d(p)}deg) scale(${y})`;if(Ct(0,e).style.transform=x,e.style.zIndex=String(1-Math.abs(Math.round(u))),r.slideShadows){let t=o?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=o?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");t||(t=Tt("coverflow",e,o?"left":"top")),i||(i=Tt("coverflow",e,o?"right":"bottom")),t&&(t.style.opacity=String(u>0?u:0)),i&&(i.style.opacity=String(-u>0?-u:0))}}},setTransition:e=>{t.slides.map((t=>c(t))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},({swiper:t,extendParams:e,on:i})=>{function s(){return t.params.creativeEffect}e({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const n=t=>"string"==typeof t?t:`${t}px`;Et({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:i,slidesSizesGrid:r}=t,o=s(),{progressMultiplier:a}=o,l=t.params.centeredSlides,h=w(t);if(l){const e=r[0]/2-(t.params.slidesOffsetBefore??0);i.style.transform=`translateX(calc(50% - ${e}px))`}for(let i=0;i<e.length;i+=1){const s=e[i],r=s.progress??0,c=Math.min(Math.max(r,-o.limitProgress),o.limitProgress);let d=c;l||(d=Math.min(Math.max(s.originalProgress??0,-o.limitProgress),o.limitProgress));const u=s.swiperSlideOffset??0,p=[t.params.cssMode?-u-t.translate:-u,0,0],f=[0,0,0];let g=!1;t.isHorizontal()||(p[1]=p[0],p[0]=0);
45let m={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(m=o.next,g=!0):c>0&&(m=o.prev,g=!0),p.forEach(((t,e)=>{p[e]=`calc(${t}px + (${n(m.translate[e])} * ${Math.abs(c*a)}))`})),f.forEach(((t,e)=>{f[e]=m.rotate[e]*Math.abs(c*a)})),s.style.zIndex=String(-Math.abs(Math.round(r))+e.length);const v=p.join(", "),b=`rotateX(${h(f[0])}deg) rotateY(${h(f[1])}deg) rotateZ(${h(f[2])}deg)`,y=d<0?`scale(${1+(1-m.scale)*d*a})`:`scale(${1-(1-m.scale)*d*a})`,x=d<0?1+(1-m.opacity)*d*a:1-(1-m.opacity)*d*a,w=`translate3d(${v}) ${b} ${y}`;if(g&&m.shadow||!g){let t=s.querySelector(".swiper-slide-shadow");if(!t&&m.shadow&&(t=Tt("creative",s)),t){const e=o.shadowPerProgress?c*(1/o.limitProgress):c;t.style.opacity=String(Math.min(Math.max(Math.abs(e),0),1))}}const S=Ct(0,s);S.style.transform=w,S.style.opacity=String(x),m.origin&&(S.style.transformOrigin=m.origin)}},setTransition:e=>{const i=t.slides.map((t=>c(t)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),At({swiper:t,duration:e,transformElements:i,allSlides:!0})},perspective:()=>s().perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},({swiper:t,extendParams:e,on:i})=>{function s(){return t.params.cardsEffect}e({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}});Et({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:i,rtlTranslate:n}=t,r=s(),{startTranslate:o,isTouched:a}=t.touchEventsData,l=n?-t.translate:t.translate;for(let s=0;s<e.length;s+=1){const h=e[s],c=h.progress??0,d=Math.min(Math.max(c,-4),4);let u=h.swiperSlideOffset??0;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset??0);let p=t.params.cssMode?-u-t.translate:-u,f=0;const g=-100*Math.abs(d);let m=1,v=-r.perSlideRotate*d,b=r.perSlideOffset-.75*Math.abs(d);const y=t.virtual&&t.params.virtual?.enabled?t.virtual.from+s:s,x=(y===i||y===i-1)&&d>0&&d<1&&(a||t.params.cssMode)&&(l??0)<(o??0),w=(y===i||y===i+1)&&d<0&&d>-1&&(a||t.params.cssMode)&&(l??0)>(o??0);if(x||w){const e=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;v+=-28*d*e,m+=-.5*e,b+=96*e,f=(r.rotate||t.isHorizontal()?-25:0)*e*Math.abs(d)+"%"}if(p=d<0?`calc(${p}px ${n?"-":"+"} (${b*Math.abs(d)}%))`:d>0?`calc(${p}px ${n?"-":"+"} (-${b*Math.abs(d)}%))`:`${p}px`,!t.isHorizontal()){const t=f;f=p,p=t}const S=d<0?""+(1+(1-m)*d):""+(1-(1-m)*d),E=`\n        translate3d(${p}, ${f}, ${g}px)\n        rotateZ(${r.rotate?n?-v:v:0}deg)\n        scale(${S})\n      `;if(r.slideShadows){let t=h.querySelector(".swiper-slide-shadow");t||(t=Tt("cards",h)),t&&(t.style.opacity=String(Math.min(Math.max((Math.abs(d)-.5)/.5,0),1)))}h.style.zIndex=String(-Math.abs(Math.round(c))+e.length);Ct(0,h).style.transform=E}},setTransition:e=>{const i=t.slides.map((t=>c(t)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),At({swiper:t,duration:e,transformElements:i})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:s().rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}];it.use(kt);const Mt='
vendor: 8,129 bytes, line 45
45:host{--swiper-theme-color:#007aff}:host{display:block;margin-left:auto;margin-right:auto;position:relative;z-index:1}.swiper{display:block;height:100%;list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;width:100%;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:initial;display:flex;height:100%;position:relative;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);width:100%;z-index:1}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){display:block;flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):last-child{margin-inline-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):last-child{margin-block-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";left:0;pointer-events:none;position:absolute;top:0}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;position:absolute;width:var(--swiper-navigation-size);z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next ::slotted(svg),.swiper-button-next svg,.swiper-button-prev ::slotted(svg),.swiper-button-prev svg{height:100%;object-fit:contain;transform-origin:center;width:100%;fill:currentColor;pointer-events:none}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-button-prev .swiper-navigation-icon,.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-next,.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-horizontal .swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-horizontal .swiper-button-next,.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev,.swiper-horizontal~.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl .swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl~.swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-horizontal~.swiper-button-prev .swiper-navigation-icon,.swiper-horizontal~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.swiper-horizontal.swiper-rtl .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl~.swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(0deg)}.swiper-vertical .swiper-button-next,.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-next,.swiper-vertical~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}.swiper-vertical .swiper-button-prev .swiper-navigation-icon,.swiper-vertical .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-vertical~.swiper-button-prev .swiper-navigation-icon,.swiper-vertical~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}.swiper-vertical .swiper-button-next .swiper-navigation-icon,.swiper-vertical .swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-vertical~.swiper-button-next .swiper-navigation-icon,.swiper-vertical~.swiper-button-next ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
vendor: 8,569 bytes, line 45
45.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);display:inline-block;height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px))}button.swiper-pagination-bullet{appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0;width:100%}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:var(--swiper-pagination-progressbar-size,4px)}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);position:absolute;top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);z-index:50}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{height:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);left:var(--swiper-scrollbar-left,auto);position:absolute;right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50}.swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transform-origin:center bottom}
45';const Ot="undefined"==typeof window||"undefined"==typeof HTMLElement?class{}:HTMLElement,Lt=(t,e)=>{if("undefined"!=typeof CSSStyleSheet&&t.adoptedStyleSheets){const i=new CSSStyleSheet;i.replaceSync(e),t.adoptedStyleSheets=[i]}else{const i=document.createElement("style");i.textContent=e,t.appendChild(i)}};class _t extends Ot{swiper;swiperParams={};passedParams={};injectStyles;injectStylesUrls;slideSlots=0;rendered;nested;init;constructor(){super(),this.attachShadow({mode:"open"})}cssStyles(){return[Mt,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const t=this.slideSlots||0,e=[...this.querySelectorAll("[slot^=slide-]")].map((t=>parseInt(t.getAttribute("slot").split("slide-")[1],10)));if(this.slideSlots=e.length?Math.max(...e)+1:0,this.rendered)if(this.slideSlots>t)for(let e=t;e<this.slideSlots;e+=1){const t=document.createElement("swiper-slide");t.setAttribute("part",`slide slide-${e+1}`);const i=document.createElement("slot");i.setAttribute("name",`slide-${e+1}`),t.appendChild(i),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(t)}else if(this.slideSlots<t){const t=this.swiper.slides;for(let e=t.length-1;e>=0;e-=1)e>this.slideSlots&&t[e].remove()}}render(){if(this.rendered)return;this.calcSlideSlots();let t=this.cssStyles();this.slideSlots>0&&(t=t.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),t.length&&Lt(this.shadowRoot,t),this.cssLinks().forEac
vendor: 4,206 bytes, line 45
45h((t=>{if(this.shadowRoot.querySelector(`link[href="${t}"]`))return;const e=document.createElement("link");e.rel="stylesheet",e.href=t,this.shadowRoot.appendChild(e)}));const e=document.createElement("div");e.classList.add("swiper"),e.part.add("container"),S(e,`\n      <slot name="container-start"></slot>\n      <div class="swiper-wrapper" part="wrapper">\n        <slot></slot>\n        ${Array.from({length:this.slideSlots}).map(((t,e)=>`\n        <swiper-slide part="slide slide-${e}">\n          <slot name="slide-${e}"></slot>\n        </swiper-slide>\n        `)).join("")}\n      </div>\n      <slot name="container-end"></slot>\n      ${function(t={}){const e=t.navigation;return!!e&&(!0===e||void 0===e.nextEl&&void 0===e.prevEl)}(this.passedParams)?'\n        <div part="button-prev" class="swiper-button-prev"><slot name="button-prev"></slot></div>\n        <div part="button-next" class="swiper-button-next"><slot name="button-next"></slot></div>\n      ':""}\n      ${function(t={}){const e=t.pagination;return!!e&&(!0===e||void 0===e.el)}(this.passedParams)?'\n        <div part="pagination" class="swiper-pagination"></div>\n      ':""}\n      ${function(t={}){const e=t.scrollbar;return!!e&&(!0===e||void 0===e.el)}(this.passedParams)?'\n        <div part="scrollbar" class="swiper-scrollbar"></div>\n      ':""}\n    `),this.shadowRoot.appendChild(e),this.rendered=!0}initialize(){if(this.swiper&&this.swiper.initialized)return;const{params:t,passedParams:e}=dt(this);this.swiperParams=t,this.passedParams=e,delete this.swiperParams.init,this.render(),this.swiper=new it(this.shadowRoot.querySelector(".swiper"),{...t.virtual?{}:{observer:!0},...t,touchEventsTarget:"container",onAny:(e,...i)=>{"observerUpdate"===e&&this.calcSlideSlots();const s=t.eventsPrefix?`${t.eventsPrefix}${e.toLowerCase()}`:e.toLowerCase(),n=new CustomEvent(s,{detail:i,bubbles:"hashChange"!==e,cancelable:!0});this.dispatchEvent(n)}})}connectedCallback(){const t=this.closest("swiper-slide");this.swiper&&this.swiper.initialized&&this.nested&&t&&t.swiperLoopMoveDOM||!1!==this.init&&"false"!==this.getAttribute("init")&&this.initialize()}disconnectedCallback(){const t=this.closest("swiper-slide");this.nested&&t&&t.swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(t,e){const{params:i,passedParams:s}=dt(this,t,e);this.passedParams=s,this.swiperParams=i,this.swiper&&this.swiper.params[t]===e||function(t){let{nextEl:e,prevEl:i,scrollbarEl:s,paginationEl:n}=t;const{swiper:r,slides:o,passedParams:a,changedParams:l}=t,h=l.filter((t=>"children"!==t&&"direction"!==t&&"wrapperClass"!==t)),{params:c,pagination:d,navigation:u,scrollbar:p,virtual:f,thumbs:g}=r,m=a,v=c;let b,y,x,w,E,C,A,T;const k=m.thumbs,M=v.thumbs;l.includes("thumbs")&&ot(k)&&k.swiper&&!k.swiper.destroyed&&ot(M)&&(!M.swiper||M.swiper.destroyed)&&(b=!0);const O=m.controller,L=v.controller;l.includes("controller")&&ot(O)&&O.control&&ot(L)&&!L.control&&(y=!0);const _=m.pagination;l.includes("pagination")&&ot(_)&&(_.el||n)&&(v.pagination||!1===v.pagination)&&d&&!d.el&&(x=!0);const P=m.scrollbar;l.includes("scrollbar")&&ot(P)&&(P.el||s)&&(v.scrollbar||!1===v.scrollbar)&&p&&!p.el&&(w=!0);const D=m.navigation;l.includes("navigation")&&ot(D)&&(D.prevEl||i)&&(D.nextEl||e)&&(v.navigation||!1===v.navigation)&&u&&!u.prevEl&&!u.nextEl&&(E=!0);const I=t=>{const e=r[t];if(!e)return;e.destroy();const i=v[t],s=ot(i)?i:void 0;"navigation"===t?(r.isElement&&(e.prevEl?.remove(),e.nextEl?.remove()),s&&(s.prevEl=void 0,s.nextEl=void 0),e.prevEl=void 0,e.nextEl=void 0):(r.isElement&&e.el?.remove(),s&&(s.el=void 0),e.el=void 0)};l.includes("loop")&&r.isElement&&(c.loop&&!a.loop?C=!0:!c.loop&&a.loop?A=!0:T=!0),h.forEach((t=>{const e=v[t],i=m[t];ot(e)&&ot(i)?(Object.assign(e,i),"navigation"!==t&&"pagination"!==t&&"scrollbar"!==t||!("enabled"in i)||i.enabled||I(t)):!0!==i&&!1!==i||"navigation"!==t&&"pagination"!==t&&"scrollbar"!==t?v[t]=i:!1===i&&I(t)})),h.includes("controller")&&!y&&r.controller&&r.controller.control&&ot(L)&&L.control&&(r.controller.control=L.control),l.includes("children")&&o&&f&&c.virtual?.enabled?(f.slides=o,f.update(!0)):l.includes("virtual")&&f&&c.virtual?.enabled&&(o&&
45(f.slides=o),f.update(!0)),l.includes("children")&&o&&c.loop&&(T=!0),b&&g&&g.init()&&g.update(!0);if(y&&r.controller&&ot(L)&&(r.controller.control=L.control),x&&d){if(r.isElement&&(!n||"string"==typeof n)){const t=document.createElement("div");t.classList.add("swiper-pagination"),t.part.add("pagination"),r.el.appendChild(t),n=t}const t=v.pagination;n&&ot(t)&&(t.el=n),d.init(),d.render(),d.update()}if(w&&p){if(r.isElement&&(!s||"string"==typeof s)){const t=document.createElement("div");t.classList.add("swiper-scrollbar"),t.part.add("scrollbar"),r.el.appendChild(t),s=t}const t=v.scrollbar;s&&ot(t)&&(t.el=s),p.init(),p.updateSize(),p.setTranslate()}if(E&&u){if(r.isElement){if(!e||"string"==typeof e){const t=document.createElement("div");t.classList.add("swiper-button-next"),S(t,u.arrowSvg),t.part.add("button-next"),r.el.appendChild(t),e=t}if(!i||"string"==typeof i){const t=document.createElement("div");t.classList.add("swiper-button-prev"),S(t,u.arrowSvg),t.part.add("button-prev"),r.el.appendChild(t),i=t}}const t=v.navigation;e&&ot(t)&&(t.nextEl=e),i&&ot(t)&&(t.prevEl=i),u.init(),u.update()}l.includes("allowSlideNext")&&(r.allowSlideNext=m.allowSlideNext),l.includes("allowSlidePrev")&&(r.allowSlidePrev=m.allowSlidePrev),l.includes("direction")&&r.changeDirection(m.direction,!1),(C||T)&&r.loopDestroy(),(A||T)&&r.loopCreate(),r.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[lt(t)],..."navigation"===t&&s[t]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===t&&s[t]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===t&&s[t]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(t,e,i){if(!this.swiper||!this.swiper.initialized)return;let s=i;"true"===e&&null===i&&(s=!1),this.updateSwiperOnPropChange(t,s)}static get observedAttributes(){return rt.filter((t=>t.includes("_"))).map((t=>t.replace(/[A-Z]/g,(t=>`-${t}`)).replace("_","").toLowerCase()))}}rt.forEach((t=>{if("init"===t)return;const e=t.replace("_","");Object.defineProperty(_t.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(t){this.passedParams||(this.passedParams={}),this.passedParams[e]=t,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(e,t)}})}));class Pt extends Ot{lazy;swiperLoopMoveDOM;constructor(){super(),this.attachShadow({mode:"open"})}render(){const t=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(Lt(this.shadowRoot,"::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}::slotted(.swiper-slide-shadow){background:#00000026}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(270deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(90deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(0deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(180deg,#00000080,#0000)}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid #0000;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-zoom-container){align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-height:100%;max-width:100%;object-fit:contain}"),this.shadowRoot.appendChild(document.createElement("slot")),t){const t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}}"undefined"!=typeof window&&(window.SwiperElementRegisterParams=t=>{rt.push(...t)}),"undefined"!=typeof window&&(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",_t),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Pt));const Dt=document.getElementsByClassName("swiper-slide").length,It=".swiper-multiple",Bt=()=>{const t=new it(It,{loop:!0,initialSlide:Dt-1,breakpoints:{576:{slidesPerView:2,initialSlide:Dt-2},768:{slidesPerView:3,initialSlide:Dt-3},992:{slidesPerView:4,initialSlide:Dt-4},1200:{slidesPerView:5,initialSlide:Dt-5}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});t.navigation.nextEl.addEventListener("click",(function(){t.activeIndex>Dt&&t.slideTo(t.loopedSlides)})),t.navigation.prevEl.addEventListener("click",(function(){t.activeIndex<t.loopedSlides&&t.slideTo(0)}))};document.querySelector(It)&&Bt();var Nt="top",zt="bottom",Rt="right",Ft="left",Ht="auto",Wt=[Nt,zt,Rt,Ft],qt="start",$t="end",jt="clippingParents",Gt="viewport",Vt="popper",Xt="reference",Yt=Wt.reduce((function(t,e){return t.concat([e+"-"+qt,e+"-"+$t])}),[]),Ut=[].concat(Wt,[Ht]).reduce((function(t,e){return t.concat([e,e+"-"+qt,e+"-"+$t])}),[]),Kt="beforeRead",Zt="read",Qt="afterRead",Jt="beforeMain",te="main",ee="afterMain",ie="beforeWrite",se="write",ne="afterWrite",re=[Kt,Zt,Qt,Jt,te,ee,ie,se,ne];
vendor: 5,326 bytes, line 45
45function oe(t){return t?(t.nodeName||"").toLowerCase():null}function ae(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function le(t){return t instanceof ae(t).Element||t instanceof Element}function he(t){return t instanceof ae(t).HTMLElement||t instanceof HTMLElement}function ce(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ae(t).ShadowRoot||t instanceof ShadowRoot)}const de={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},s=e.attributes[t]||{},n=e.elements[t];he(n)&&oe(n)&&(Object.assign(n.style,i),Object.keys(s).forEach((function(t){var e=s[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var s=e.elements[t],n=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});he(s)&&oe(s)&&(Object.assign(s.style,r),Object.keys(n).forEach((function(t){s.removeAttribute(t)})))}))}},requires:["computeStyles"]};function ue(t){return t.split("-")[0]}var pe=Math.max,fe=Math.min,ge=Math.round;function me(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function ve(){return!/^((?!chrome|android).)*safari/i.test(me())}function be(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var s=t.getBoundingClientRect(),n=1,r=1;e&&he(t)&&(n=t.offsetWidth>0&&ge(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&ge(s.height)/t.offsetHeight||1);var o=(le(t)?ae(t):window).visualViewport,a=!ve()&&i,l=(s.left+(a&&o?o.offsetLeft:0))/n,h=(s.top+(a&&o?o.offsetTop:0))/r,c=s.width/n,d=s.height/r;return{width:c,height:d,top:h,right:l+c,bottom:h+d,left:l,x:l,y:h}}function ye(t){var e=be(t),i=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:s}}function xe(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&ce(i)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function we(t){return ae(t).getComputedStyle(t)}function Se(t){return["table","td","th"].indexOf(oe(t))>=0}function Ee(t){return((le(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ce(t){return"html"===oe(t)?t:t.assignedSlot||t.parentNode||(ce(t)?t.host:null)||Ee(t)}function Ae(t){return he(t)&&"fixed"!==we(t).position?t.offsetParent:null}function Te(t){for(var e=ae(t),i=Ae(t);i&&Se(i)&&"static"===we(i).position;)i=Ae(i);return i&&("html"===oe(i)||"body"===oe(i)&&"static"===we(i).position)?e:i||function(t){var e=/firefox/i.test(me());if(/Trident/i.test(me())&&he(t)&&"fixed"===we(t).position)return null;var i=Ce(t);for(ce(i)&&(i=i.host);he(i)&&["html","body"].indexOf(oe(i))<0;){var s=we(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}(t)||e}function ke(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Me(t,e,i){return pe(t,fe(e,i))}function Oe(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Le(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const _e={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,s=t.name,n=t.options,r=i.elements.arrow,o=i.modifiersData.popperOffsets,a=ue(i.placement),l=ke(a),h=[Ft,Rt].indexOf(a)>=0?"height":"width";if(r&&o){var c=function(t,e){return Oe("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Le(t,Wt))}(n.padding,i),d=ye(r),u="y"===l?Nt:Ft,p="y"===l?zt:Rt,f=i.rects.reference[h]+i.rects.reference[l]-o[l]-i.rects.popper[h],g=o[l]-i.rects.reference[l],m=Te(r),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=f/2-g/2,y=c[u],x=v-d[h]-c[p],w=v/2-d[h]/2+b,S=Me(y,w,x),E=l;i.modifiersData[s]=((e={})[E]=S,e.centerOffset=S-w,e)}},effect:function(t){var e=t.state,i=t.options.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"!=typeof s||(s=e.elements.popper.querySelector(s)))&&xe(e.elements.popper,s)&&(e.elements.arrow=s)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Pe(t){return t.split("-")[1]}var De={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ie(t){var e,i=t.popper,s=t.popperRect,n=t.placement,r=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,h=t.adaptive,c=t.roundOffsets,d=t.isFixed,u=o.x,p=void 0===u?0:u,f=o.y,g=void 0===f?0:f,m="function"==typeof c?c({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),y=Ft,x=Nt,w=window;if(h){var S=Te(i),E="clientHeight",C="clientWidth";if(S===ae(i)&&"static"!==we(S=Ee(i)).position&&"absolute"===a&&(E="scrollHeight",C="scrollWidth"),n===Nt||(n===Ft||n===Rt)&&r===$t)x=zt,g-=(d&&S===w&&w.visualVie
vendor: 8,431 bytes, line 45
45wport?w.visualViewport.height:S[E])-s.height,g*=l?1:-1;if(n===Ft||(n===Nt||n===zt)&&r===$t)y=Rt,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[C])-s.width,p*=l?1:-1}var A,T=Object.assign({position:a},h&&De),k=!0===c?function(t,e){var i=t.x,s=t.y,n=e.devicePixelRatio||1;return{x:ge(i*n)/n||0,y:ge(s*n)/n||0}}({x:p,y:g},ae(i)):{x:p,y:g};return p=k.x,g=k.y,l?Object.assign({},T,((A={})[x]=b?"0":"",A[y]=v?"0":"",A.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",A)):Object.assign({},T,((e={})[x]=b?g+"px":"",e[y]=v?p+"px":"",e.transform="",e))}const Be={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,s=i.gpuAcceleration,n=void 0===s||s,r=i.adaptive,o=void 0===r||r,a=i.roundOffsets,l=void 0===a||a,h={placement:ue(e.placement),variation:Pe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Ie(Object.assign({},h,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ie(Object.assign({},h,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var Ne={passive:!0};const ze={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,s=t.options,n=s.scroll,r=void 0===n||n,o=s.resize,a=void 0===o||o,l=ae(e.elements.popper),h=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&h.forEach((function(t){t.addEventListener("scroll",i.update,Ne)})),a&&l.addEventListener("resize",i.update,Ne),function(){r&&h.forEach((function(t){t.removeEventListener("scroll",i.update,Ne)})),a&&l.removeEventListener("resize",i.update,Ne)}},data:{}};var Re={left:"right",right:"left",bottom:"top",top:"bottom"};function Fe(t){return t.replace(/left|right|bottom|top/g,(function(t){return Re[t]}))}var He={start:"end",end:"start"};function We(t){return t.replace(/start|end/g,(function(t){return He[t]}))}function qe(t){var e=ae(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $e(t){return be(Ee(t)).left+qe(t).scrollLeft}function je(t){var e=we(t),i=e.overflow,s=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+s)}function Ge(t){return["html","body","#document"].indexOf(oe(t))>=0?t.ownerDocument.body:he(t)&&je(t)?t:Ge(Ce(t))}function Ve(t,e){var i;void 0===e&&(e=[]);var s=Ge(t),n=s===(null==(i=t.ownerDocument)?void 0:i.body),r=ae(s),o=n?[r].concat(r.visualViewport||[],je(s)?s:[]):s,a=e.concat(o);return n?a:a.concat(Ve(Ce(o)))}function Xe(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ye(t,e,i){return e===Gt?Xe(function(t,e){var i=ae(t),s=Ee(t),n=i.visualViewport,r=s.clientWidth,o=s.clientHeight,a=0,l=0;if(n){r=n.width,o=n.height;var h=ve();(h||!h&&"fixed"===e)&&(a=n.offsetLeft,l=n.offsetTop)}return{width:r,height:o,x:a+$e(t),y:l}}(t,i)):le(e)?function(t,e){var i=be(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):Xe(function(t){var e,i=Ee(t),s=qe(t),n=null==(e=t.ownerDocument)?void 0:e.body,r=pe(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=pe(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-s.scrollLeft+$e(t),l=-s.scrollTop;return"rtl"===we(n||i).direction&&(a+=pe(i.clientWidth,n?n.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}(Ee(t)))}function Ue(t,e,i,s){var n="clippingParents"===e?function(t){var e=Ve(Ce(t)),i=["absolute","fixed"].indexOf(we(t).position)>=0&&he(t)?Te(t):t;return le(i)?e.filter((function(t){return le(t)&&xe(t,i)&&"body"!==oe(t)})):[]}(t):[].concat(e),r=[].concat(n,[i]),o=r[0],a=r.reduce((function(e,i){var n=Ye(t,i,s);return e.top=pe(n.top,e.top),e.right=fe(n.right,e.right),e.bottom=fe(n.bottom,e.bottom),e.left=pe(n.left,e.left),e}),Ye(t,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ke(t){var e,i=t.reference,s=t.element,n=t.placement,r=n?ue(n):null,o=n?Pe(n):null,a=i.x+i.width/2-s.width/2,l=i.y+i.height/2-s.height/2;switch(r){case Nt:e={x:a,y:i.y-s.height};break;case zt:e={x:a,y:i.y+i.height};break;case Rt:e={x:i.x+i.width,y:l};break;case Ft:e={x:i.x-s.width,y:l};break;default:e={x:i.x,y:i.y}}var h=r?ke(r):null;if(null!=h){var c="y"===h?"height":"width";switch(o){case qt:e[h]=e[h]-(i[c]/2-s[c]/2);break;case $t:e[h]=e[h]+(i[c]/2-s[c]/2)}}return e}function Ze(t,e){void 0===e&&(e={});var i=e,s=i.placement,n=void 0===s?t.placement:s,r=i.strategy,o=void 0===r?t.strategy:r,a=i.boundary,l=void 0===a?jt:a,h=i.rootBoundary,c=void 0===h?Gt:h,d=i.elementContext,u=void 0===d?Vt:d,p=i.altBoundary,f=void 0!==p&&p,g=i.padding,m=void 0===g?0:g,v=Oe("number"!=typeof m?m:Le(m,Wt)),b=u===Vt?Xt:Vt,y=t.rects.popper,x=t.elements[f?b:u],w=Ue(le(x)?x:x.contextElement||Ee(t.elements.popper),l,c,o),S=be(t.elements.reference),E=Ke({reference:S,element:y,strategy:"absolute",placement:n}),C=Xe(Object.assign({},y,E)),A=u===Vt?C:S,T={top:w.top-A.top+v.top,bottom:A.bottom-w.bottom+v.bottom,left:w.left-A.left+v.left,right:A.right-w.right+v.right},k=t.modifiersData.offset;if(u===Vt&&k){var M=k[n];Object.keys(T).forEach((function(t){var e=[Rt,zt].indexOf(t)>=0?1:-1,i=[Nt,zt].indexOf(t)>=0?"y":"x";T[t]+=M[i]*e}))}return T}const Qe={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var n=i.mainAxis,r=void 0===n||n,o=i.altAxis,a=void 0===o||o,l=i.fallbackPlacements,h=i.padding,c=i.boundary,d=i.rootBoundary,u=i.altBoundary,p=i.flipVariations,f=void 0===p||p,g=i.allowedAutoPlacements,m=e.options.placement,v=ue(m),b=l||(v===m||!f?[Fe(m)]:function(t){if(ue(t)===Ht)return[];var e=Fe(t);return[We(t),e,We(e)]}(m)),y=[m].concat(b).reduce((function(t,i){return t.concat(ue(i)===Ht?function(t,e){void 0===e&&(e={});var i=e,s=i.placement,n=i.boundary,r=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,h=void 0===l?Ut:l,c=Pe(s),d=c?a?Yt:Yt.filter((function(t){return Pe(t)===c})):Wt,u=d.filter((function(t){return h.indexOf(t)>=0}));0===u.length&&(u=d);var p=u.reduce((function(e,i){return e[i]=Ze(t,{placement:i,boundary:n,rootBoundary:r,padding:o})[ue(i)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:i,boundary:c,rootBoundary:d,padding:h,flipVariations:f,allowedAutoPlacements:g}):i)}),[]),x=e.rects.reference,w=e.rects.popper,S=new Map,E=!0,C=y[0],A=0;A<y.length;A++){var T=y[A],k=ue(T),M=Pe(T)===qt,O=[Nt,zt].indexOf(k)>=0,L=O?"width":"height",_=Ze(e,{placement:T,boundary:c,rootBoundary:d,altBoundary:u,padding:h}),P=O?M?Rt:Ft:M?zt:Nt;x[L]>w[L]&&(P=Fe(P));var D=Fe(P),I=[];if(r&&I.push(_[k]<=0),a&&I.push(_[P]<=0,_[D]<=0),I.every((function(t){return t}))){C=T,E=!1;break}S.set(T,I)}if(E)for(var B=function(t){var e=y.find((function(e){var i=S.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return C=e,"break"},N=f?3:1;N>0;N--){if("break"===B(N))break}e.placement!==C&&(e.modifiersData[s]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Je(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ti(t){return[Nt,Rt,zt,Ft].some((function(e){return t[e]>=0}))}const ei={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,s=e.rects.reference,n=e.rects.popper,r=e.modifiersData.preventOverflow,o=Ze(e,{elementContext:"reference"}),a=Ze(e,{altBoundary:!0}),l=Je(o,s),h=Je(a,n,r),c=ti(l),d=ti(h);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:h,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}};const ii={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,s=t.name,n=i.offset,r=void 0===n?[0,0]:n,o=Ut.reduce((function(t,i){return t[i]=function(t,e,
vendor: 4,401 bytes, line 45
45i){var s=ue(t),n=[Ft,Nt].indexOf(s)>=0?-1:1,r="function"==typeof i?i(Object.assign({},e,{placement:t})):i,o=r[0],a=r[1];return o=o||0,a=(a||0)*n,[Ft,Rt].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}(i,e.rects,r),t}),{}),a=o[e.placement],l=a.x,h=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=h),e.modifiersData[s]=o}};const si={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Ke({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};const ni={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,s=t.name,n=i.mainAxis,r=void 0===n||n,o=i.altAxis,a=void 0!==o&&o,l=i.boundary,h=i.rootBoundary,c=i.altBoundary,d=i.padding,u=i.tether,p=void 0===u||u,f=i.tetherOffset,g=void 0===f?0:f,m=Ze(e,{boundary:l,rootBoundary:h,padding:d,altBoundary:c}),v=ue(e.placement),b=Pe(e.placement),y=!b,x=ke(v),w="x"===x?"y":"x",S=e.modifiersData.popperOffsets,E=e.rects.reference,C=e.rects.popper,A="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,T="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),k=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(S){if(r){var O,L="y"===x?Nt:Ft,_="y"===x?zt:Rt,P="y"===x?"height":"width",D=S[x],I=D+m[L],B=D-m[_],N=p?-C[P]/2:0,z=b===qt?E[P]:C[P],R=b===qt?-C[P]:-E[P],F=e.elements.arrow,H=p&&F?ye(F):{width:0,height:0},W=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=W[L],$=W[_],j=Me(0,E[P],H[P]),G=y?E[P]/2-N-j-q-T.mainAxis:z-j-q-T.mainAxis,V=y?-E[P]/2+N+j+$+T.mainAxis:R+j+$+T.mainAxis,X=e.elements.arrow&&Te(e.elements.arrow),Y=X?"y"===x?X.clientTop||0:X.clientLeft||0:0,U=null!=(O=null==k?void 0:k[x])?O:0,K=D+V-U,Z=Me(p?fe(I,D+G-U-Y):I,D,p?pe(B,K):B);S[x]=Z,M[x]=Z-D}if(a){var Q,J="x"===x?Nt:Ft,tt="x"===x?zt:Rt,et=S[w],it="y"===w?"height":"width",st=et+m[J],nt=et-m[tt],rt=-1!==[Nt,Ft].indexOf(v),ot=null!=(Q=null==k?void 0:k[w])?Q:0,at=rt?st:et-E[it]-C[it]-ot+T.altAxis,lt=rt?et+E[it]+C[it]-ot-T.altAxis:nt,ht=p&&rt?function(t,e,i){var s=Me(t,e,i);return s>i?i:s}(at,et,lt):Me(p?at:st,et,p?lt:nt);S[w]=ht,M[w]=ht-et}e.modifiersData[s]=M}},requiresIfExists:["offset"]};function ri(t,e,i){void 0===i&&(i=!1);var s,n,r=he(e),o=he(e)&&function(t){var e=t.getBoundingClientRect(),i=ge(e.width)/t.offsetWidth||1,s=ge(e.height)/t.offsetHeight||1;return 1!==i||1!==s}(e),a=Ee(e),l=be(t,o,i),h={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!i)&&(("body"!==oe(e)||je(a))&&(h=(s=e)!==ae(s)&&he(s)?{scrollLeft:(n=s).scrollLeft,scrollTop:n.scrollTop}:qe(s)),he(e)?((c=be(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):a&&(c.x=$e(a))),{x:l.left+h.scrollLeft-c.x,y:l.top+h.scrollTop-c.y,width:l.width,height:l.height}}function oi(t){var e=new Map,i=new Set,s=[];function n(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var s=e.get(t);s&&n(s)}})),s.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||n(t)})),s}var ai={placement:"bottom",modifiers:[],strategy:"absolute"};function li(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function hi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,s=void 0===i?[]:i,n=e.defaultOptions,r=void 0===n?ai:n;return function(t,e,i){void 0===i&&(i=r);var n,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ai,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],h=!1,c={state:a,setOptions:function(i){var n="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},r,a.options,n),a.scrollParents={reference:le(t)?Ve(t):t.contextElement?Ve(t.contextElement):[],popper:Ve(e)};var o,h,u=function(t){var e=oi(t);return re.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((o=[].concat(s,a.options.modifiers),h=o.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(h).map((function(t){return h[t]}))));return a.orderedModifiers=u.filter((function(t){return t.enabled}
45)),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,s=void 0===i?{}:i,n=t.effect;if("function"==typeof n){var r=n({state:a,name:e,instance:c,options:s}),o=function(){};l.push(r||o)}})),c.update()},forceUpdate:function(){if(!h){var t=a.elements,e=t.reference,i=t.popper;if(li(e,i)){a.rects={reference:ri(e,Te(i),"fixed"===a.options.strategy),popper:ye(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var s=0;s<a.orderedModifiers.length;s++)if(!0!==a.reset){var n=a.orderedModifiers[s],r=n.fn,o=n.options,l=void 0===o?{}:o,d=n.name;"function"==typeof r&&(a=r({state:a,options:l,name:d,instance:c})||a)}else a.reset=!1,s=-1}}},update:(n=function(){return new Promise((function(t){c.forceUpdate(),t(a)}))},function(){return o||(o=new Promise((function(t){Promise.resolve().then((function(){o=void 0,t(n())}))}))),o}),destroy:function(){d(),h=!0}};if(!li(t,e))return c;function d(){l.forEach((function(t){return t()})),l=[]}return c.setOptions(i).then((function(t){!h&&i.onFirstUpdate&&i.onFirstUpdate(t)})),c}}var ci=hi(),di=hi({defaultModifiers:[ze,si,Be,de,ii,Qe,ni,_e,ei]}),ui=hi({defaultModifiers:[ze,si,Be,de]});const pi=new Map,fi={set(t,e,i){pi.has(t)||pi.set(t,new Map);const s=pi.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,e)=>pi.has(t)&&pi.get(t).get(e)||null,remove(t,e){if(!pi.has(t))return;const i=pi.get(t);i.delete(e),0===i.size&&pi.delete(t)}},gi="transitionend",mi=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),vi=t=>{t.dispatchEvent(new Event(gi))},bi=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),yi=t=>bi(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(mi(t)):null,xi=t=>{if(!bi(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},wi=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),Si=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Si(t.parentNode):null},Ei=()=>{},Ci=t=>{t.offsetHeight},Ai=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ti=[],ki=()=>"rtl"===document.documentElement.dir,Mi=t=>{var e;e=()=>{const e=Ai();if(e){const i=t.NAME,s=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=s,t.jQueryInterface)}},"loading"===document.readyState?(Ti.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of Ti)t()})),Ti.push(e)):e()},Oi=(t,e=[],i=t)=>"function"==typeof t?t.call(...e):i,Li=(t,e,i=!0)=>{if(!i)return void Oi(t);const s=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const s=Number.parseFloat(e),n=Number.parseFloat(i);return s||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let n=!1;const r=({target:i})=>{i===e&&(n=!0,e.removeEventListener(gi,r),Oi(t))};e.addEventListener(gi,r),setTimeout((()=>{n||vi(e)}),s)},_i=(t,e,i,s)=>{const n=t.length;let r=t.indexOf(e);return-1===r?!i&&s?t[n-1]:t[0]:(r+=i?1:-1,s&&(r=(r+n)%n),t[Math.max(0,Math.min(r,n-1))])},Pi=/[^.]*(?=\..*)\.|.*/,Di=/\..*/,Ii=/::\d+$/,Bi={};let Ni=1;
vendor: 4,957 bytes, line 45
45const zi={mouseenter:"mouseover",mouseleave:"mouseout"},Ri=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Fi(t,e){return e&&`${e}::${Ni++}`||t.uidEvent||Ni++}function Hi(t){const e=Fi(t);return t.uidEvent=e,Bi[e]=Bi[e]||{},Bi[e]}function Wi(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function qi(t,e,i){const s="string"==typeof e,n=s?i:e||i;let r=Vi(t);return Ri.has(r)||(r=t),[s,n,r]}function $i(t,e,i,s,n){if("string"!=typeof e||!t)return;let[r,o,a]=qi(e,i,s);if(e in zi){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};o=t(o)}const l=Hi(t),h=l[a]||(l[a]={}),c=Wi(h,o,r?i:null);if(c)return void(c.oneOff=c.oneOff&&n);const d=Fi(o,e.replace(Pi,"")),u=r?function(t,e,i){return function s(n){const r=t.querySelectorAll(e);for(let{target:o}=n;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return Yi(n,{delegateTarget:o}),s.oneOff&&Xi.off(t,n.type,e,i),i.apply(o,[n])}}(t,i,o):function(t,e){return function i(s){return Yi(s,{delegateTarget:t}),i.oneOff&&Xi.off(t,s.type,e),e.apply(t,[s])}}(t,o);u.delegationSelector=r?i:null,u.callable=o,u.oneOff=n,u.uidEvent=d,h[d]=u,t.addEventListener(a,u,r)}function ji(t,e,i,s,n){const r=Wi(e[i],s,n);r&&(t.removeEventListener(i,r,Boolean(n)),delete e[i][r.uidEvent])}function Gi(t,e,i,s){const n=e[i]||{};for(const[r,o]of Object.entries(n))r.includes(s)&&ji(t,e,i,o.callable,o.delegationSelector)}function Vi(t){return t=t.replace(Di,""),zi[t]||t}const Xi={on(t,e,i,s){$i(t,e,i,s,!1)},one(t,e,i,s){$i(t,e,i,s,!0)},off(t,e,i,s){if("string"!=typeof e||!t)return;const[n,r,o]=qi(e,i,s),a=o!==e,l=Hi(t),h=l[o]||{},c=e.startsWith(".");if(void 0===r){if(c)for(const i of Object.keys(l))Gi(t,l,i,e.slice(1));for(const[i,s]of Object.entries(h)){const n=i.replace(Ii,"");a&&!e.includes(n)||ji(t,l,o,s.callable,s.delegationSelector)}}else{if(!Object.keys(h).length)return;ji(t,l,o,r,n?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const s=Ai();let n=null,r=!0,o=!0,a=!1;e!==Vi(e)&&s&&(n=s.Event(e,i),s(t).trigger(n),r=!n.isPropagationStopped(),o=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());const l=Yi(new Event(e,{bubbles:r,cancelable:!0}),i);return a&&l.preventDefault(),o&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function Yi(t,e={}){for(const[i,s]of Object.entries(e))try{t[i]=s}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>s})}return t}function Ui(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Ki(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Zi={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Ki(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Ki(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const s of i){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),e[i]=Ui(t.dataset[s])}return e},getDataAttribute:(t,e)=>Ui(t.getAttribute(`data-bs-${Ki(e)}`))};class Qi{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=bi(e)?Zi.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...bi(e)?Zi.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[s,n]of Object.entries(e)){const e=t[s],r=bi(e)?"element":null==(i=e)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${r}" but expected type "${n}".`)}var i}}class Ji extends Qi{constructor(t,e){super(),(t=yi(t))&&(this._element=t,this._config=this._getConfig(e),fi.set(this._element,this.constructor.DATA_KEY,this))}dispose(){fi.remove(this._element,this.constructor.DATA_KEY),Xi.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}
vendor: 6,216 bytes, line 45
45_queueCallback(t,e,i=!0){Li(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return fi.get(yi(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ts=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e?e.split(",").map((t=>mi(t))).join(","):null},es={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let s=t.parentNode.closest(e);for(;s;)i.push(s),s=s.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!wi(t)&&xi(t)))},getSelectorFromElement(t){const e=ts(t);return e&&es.findOne(e)?e:null},getElementFromSelector(t){const e=ts(t);return e?es.findOne(e):null},getMultipleElementsFromSelector(t){const e=ts(t);return e?es.find(e):[]}},is=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;Xi.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),wi(this))return;const n=es.getElementFromSelector(this)||this.closest(`.${s}`);t.getOrCreateInstance(n)[e]()}))};class ss extends Ji{static get NAME(){return"alert"}close(){if(Xi.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),Xi.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=ss.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}is(ss,"close"),Mi(ss);const ns='[data-bs-toggle="button"]';class rs extends Ji{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=rs.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}Xi.on(document,"click.bs.button.data-api",ns,(t=>{t.preventDefault();const e=t.target.closest(ns);rs.getOrCreateInstance(e).toggle()})),Mi(rs);const os=".bs.swipe",as={endCallback:null,leftCallback:null,rightCallback:null},ls={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class hs extends Qi{constructor(t,e){super(),this._element=t,t&&hs.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return as}static get DefaultType(){return ls}static get NAME(){return"swipe"}dispose(){Xi.off(this._element,os)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Oi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&Oi(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Xi.on(this._element,"pointerdown.bs.swipe",(t=>this._start(t))),Xi.on(this._element,"pointerup.bs.swipe",(t=>this._end(t))),this._element.classList.add("pointer-event")):(Xi.on(this._element,"touchstart.bs.swipe",(t=>this._start(t))),Xi.on(this._element,"touchmove.bs.swipe",(t=>this._move(t))),Xi.on(this._element,"touchend.bs.swipe",(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const cs="next",ds="prev",us="left",ps="right",fs="slid.bs.carousel",gs="carousel",ms="active",vs=".active",bs=".carousel-item",ys={ArrowLeft:ps,ArrowRight:us},xs={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ws={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ss extends Ji{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=es.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===gs&&this.cycle()}static get Default(){return xs}static get DefaultType(){return ws}static get NAME(){return"carousel"}next(){this._slide(cs)}nextWhenVisible(){!document.hidden&&xi(this._element)&&this.next()}prev(){this._slide(ds)}pause(){this._isSliding&&vi(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Xi.one(this._element,fs,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void Xi.one(this._element,fs,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const s=t>i?cs:ds;this._slide(s,e[t])}
45dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Xi.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(Xi.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),Xi.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&hs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of es.find(".carousel-item img",this._element))Xi.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(us)),rightCallback:()=>this._slide(this._directionToOrder(ps)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new hs(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=ys[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=es.findOne(vs,this._indicatorsElement);e.classList.remove(ms),e.removeAttribute("aria-current");const i=es.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(ms),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),s=t===cs,n=e||_i(this._getItems(),i,s,this._config.wrap);if(n===i)return;const r=this._getItemIndex(n),o=e=>Xi.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:r});if(o("slide.bs.carousel").defaultPrevented)return;if(!i||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=n;const l=s?"carousel-item-start":"carousel-item-end",h=s?"carousel-item-next":"carousel-item-prev";n.classList.add(h),Ci(n),i.classList.add(l),n.classList.add(l);this._queueCallback((()=>{n.classList.remove(l,h),n.classList.add(ms),i.classList.remove(ms,h,l),this._isSliding=!1,o(fs)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return es.findOne(".active.carousel-item",this._element)}_getItems(){return es.find(bs,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ki()?t===us?ds:cs:t===us?cs:ds}_orderToDirection(t){return ki()?t===ds?us:ps:t===ds?ps:us}static jQueryInterface(t){return this.each((function(){const e=Ss.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}Xi.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(t){const e=es.getElementFromSelector(this);if(!e||!e.classList.contains(gs))return;t.preventDefault();const i=Ss.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===Zi.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),Xi.on(window,"load.bs.carousel.data-api",(()=>{const t=es.find('[data-bs-ride="carousel"]');for(const e of t)Ss.getOrCreateInstance(e)})),Mi(Ss);const Es="show",Cs="collapse",As="collapsing",Ts='[data-bs-toggle="collapse"]',ks={parent:null,toggle:!0},Ms={parent:"(null|element)",toggle:"boolean"};class Os extends Ji{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=es.find(Ts);for(const t of i){const e=es.getSelectorFromElement(t),i=es.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ks}static get DefaultType(){return Ms}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Os.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(Xi.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(Cs),this._element.classList.add(As),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(As),this._element.classList.add(Cs,Es),this._element.style[e]="",Xi.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}
vendor: 3,299 bytes, line 45
45hide(){if(this._isTransitioning||!this._isShown())return;if(Xi.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Ci(this._element),this._element.classList.add(As),this._element.classList.remove(Cs,Es);for(const t of this._triggerArray){const e=es.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(As),this._element.classList.add(Cs),Xi.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Es)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=yi(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ts);for(const e of t){const t=es.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=es.find(":scope .collapse .collapse",this._config.parent);return es.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=Os.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}Xi.on(document,"click.bs.collapse.data-api",Ts,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of es.getMultipleElementsFromSelector(this))Os.getOrCreateInstance(t,{toggle:!1}).toggle()})),Mi(Os);const Ls="dropdown",_s="ArrowUp",Ps="ArrowDown",Ds="click.bs.dropdown.data-api",Is="keydown.bs.dropdown.data-api",Bs="show",Ns='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',zs=`${Ns}.show`,Rs=".dropdown-menu",Fs=ki()?"top-end":"top-start",Hs=ki()?"top-start":"top-end",Ws=ki()?"bottom-end":"bottom-start",qs=ki()?"bottom-start":"bottom-end",$s=ki()?"left-start":"right-start",js=ki()?"right-start":"left-start",Gs={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vs={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Xs extends Ji{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=es.next(this._element,Rs)[0]||es.prev(this._element,Rs)[0]||es.findOne(Rs,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Gs}static get DefaultType(){return Vs}static get NAME(){return Ls}toggle(){return this._isShown()?this.hide():this.show()}show(){if(wi(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Xi.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
45navbar-nav"))for(const t of[].concat(...document.body.children))Xi.on(t,"mouseover",Ei);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Bs),this._element.classList.add(Bs),Xi.trigger(this._element,"shown.bs.dropdown",t)}}hide(){if(wi(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Xi.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Xi.off(t,"mouseover",Ei);this._popper&&this._popper.destroy(),this._menu.classList.remove(Bs),this._element.classList.remove(Bs),this._element.setAttribute("aria-expanded","false"),Zi.removeDataAttribute(this._menu,"popper"),Xi.trigger(this._element,"hidden.bs.dropdown",t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!bi(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ls.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:bi(this._config.reference)?e=yi(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig();this._popper=di(e,this._menu,i)}_isShown(){return this._menu.classList.contains(Bs)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return $s;if(t.classList.contains("dropstart"))return js;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Hs:Fs:e?qs:Ws}
vendor: 6,064 bytes, line 45
45_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Zi.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Oi(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){const i=es.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>xi(t)));i.length&&_i(i,e,t===Ps,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Xs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=es.find(zs);for(const i of e){const e=Xs.getInstance(i);if(!e||!1===e._config.autoClose)continue;const s=t.composedPath(),n=s.includes(e._menu);if(s.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const r={relatedTarget:e._element};"click"===t.type&&(r.clickEvent=t),e._completeHide(r)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,s=[_s,Ps].includes(t.key);if(!s&&!i)return;if(e&&!i)return;t.preventDefault();const n=this.matches(Ns)?this:es.prev(this,Ns)[0]||es.next(this,Ns)[0]||es.findOne(Ns,t.delegateTarget.parentNode),r=Xs.getOrCreateInstance(n);if(s)return t.stopPropagation(),r.show(),void r._selectMenuItem(t);r._isShown()&&(t.stopPropagation(),r.hide(),n.focus())}}Xi.on(document,Is,Ns,Xs.dataApiKeydownHandler),Xi.on(document,Is,Rs,Xs.dataApiKeydownHandler),Xi.on(document,Ds,Xs.clearMenus),Xi.on(document,"keyup.bs.dropdown.data-api",Xs.clearMenus),Xi.on(document,Ds,Ns,(function(t){t.preventDefault(),Xs.getOrCreateInstance(this).toggle()})),Mi(Xs);const Ys="backdrop",Us="show",Ks="mousedown.bs.backdrop",Zs={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qs={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Js extends Qi{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Zs}static get DefaultType(){return Qs}static get NAME(){return Ys}show(t){if(!this._config.isVisible)return void Oi(t);this._append();const e=this._getElement();this._config.isAnimated&&Ci(e),e.classList.add(Us),this._emulateAnimation((()=>{Oi(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Us),this._emulateAnimation((()=>{this.dispose(),Oi(t)}))):Oi(t)}dispose(){this._isAppended&&(Xi.off(this._element,Ks),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=yi(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Xi.on(t,Ks,(()=>{Oi(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){Li(t,this._getElement(),this._config.isAnimated)}}const tn=".bs.focustrap",en="backward",sn={autofocus:!0,trapElement:null},nn={autofocus:"boolean",trapElement:"element"};class rn extends Qi{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return sn}static get DefaultType(){return nn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Xi.off(document,tn),Xi.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),Xi.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Xi.off(document,tn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=es.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===en?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?en:"forward")}}const on=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",an=".sticky-top",ln="padding-right",hn="margin-right";class cn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ln,(e=>e+t)),this._setElementAttributes(on,ln,(e=>e+t)),this._setElementAttributes(an,hn,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ln),this._resetElementAttributes(on,ln),this._resetElementAttributes(an,hn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&Zi.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=Zi.getDataAttribute(t,e);null!==i?(Zi.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}
45_applyManipulationCallback(t,e){if(bi(t))e(t);else for(const i of es.find(t,this._element))e(i)}}const dn=".bs.modal",un="hidden.bs.modal",pn="show.bs.modal",fn="modal-open",gn="show",mn="modal-static",vn={backdrop:!0,focus:!0,keyboard:!0},bn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class yn extends Ji{constructor(t,e){super(t,e),this._dialog=es.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cn,this._addEventListeners()}static get Default(){return vn}static get DefaultType(){return bn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;Xi.trigger(this._element,pn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(fn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;Xi.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(gn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){Xi.off(window,dn),Xi.off(this._dialog,dn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Js({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new rn({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=es.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),Ci(this._element),this._element.classList.add(gn);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Xi.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){Xi.on(this._element,"keydown.dismiss.bs.modal",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),Xi.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),Xi.on(this._element,"mousedown.dismiss.bs.modal",(t=>{Xi.one(this._element,"click.dismiss.bs.modal",(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(fn),this._resetAdjustments(),this._scrollBar.reset(),Xi.trigger(this._element,un)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Xi.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(mn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(mn),this._queueCallback((()=>{this._element.classList.remove(mn),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=ki()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=ki()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=yn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method n
45amed "${t}"`);i[t](e)}}))}}Xi.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=es.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Xi.one(e,pn,(t=>{t.defaultPrevented||Xi.one(e,un,(()=>{xi(this)&&this.focus()}))}));const i=es.findOne(".modal.show");i&&yn.getInstance(i).hide();yn.getOrCreateInstance(e).toggle(this)})),is(yn),Mi(yn);const xn="show",wn="showing",Sn="hiding",En=".offcanvas.show",Cn="hidePrevented.bs.offcanvas",An="hidden.bs.offcanvas",Tn={backdrop:!0,keyboard:!0,scroll:!1},kn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Mn extends Ji{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Tn}static get DefaultType(){return kn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(Xi.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new cn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(wn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(xn),this._element.classList.remove(wn),Xi.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(Xi.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Sn),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(xn,Sn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new cn).reset(),Xi.trigger(this._element,An)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Js({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():Xi.trigger(this._element,Cn)}:null})}_initializeFocusTrap(){return new rn({trapElement:this._element})}_addEventListeners(){Xi.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():Xi.trigger(this._element,Cn))}))}static jQueryInterface(t){return this.each((function(){const e=Mn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Xi.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=es.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),wi(this))return;Xi.one(e,An,(()=>{xi(this)&&this.focus()}));const i=es.findOne(En);i&&i!==e&&Mn.getInstance(i).hide();Mn.getOrCreateInstance(e).toggle(this)})),Xi.on(window,"load.bs.offcanvas.data-api",(()=>{for(const t of es.find(En))Mn.getOrCreateInstance(t).show()})),Xi.on(window,"resize.bs.offcanvas",(()=>{for(const t of es.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Mn.getOrCreateInstance(t).hide()})),is(Mn),Mi(Mn);const On={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ln=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_n=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Pn=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Ln.has(i)||Boolean(_n.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};const Dn={allowList:On,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},In={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Bn={entry:"(string|element|function|null)",selector:"(string|element)"};class Nn extends Qi{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Dn}static get DefaultType(){return In}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>
vendor: 10,104 bytes, line 45
45this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Bn)}_setContent(t,e,i){const s=es.findOne(i,t);s&&((e=this._resolvePossibleFunction(e))?bi(e)?this._putElementInTemplate(yi(e),s):this._config.html?s.innerHTML=this._maybeSanitize(e):s.textContent=e:s.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const s=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...s.body.querySelectorAll("*"));for(const t of n){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const s=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[i]||[]);for(const e of s)Pn(e,n)||t.removeAttribute(e.nodeName)}return s.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Oi(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const zn=new Set(["sanitize","allowList","sanitizeFn"]),Rn="fade",Fn="show",Hn=".modal",Wn="hide.bs.modal",qn="hover",$n="focus",jn={AUTO:"auto",TOP:"top",RIGHT:ki()?"left":"right",BOTTOM:"bottom",LEFT:ki()?"right":"left"},Gn={allowList:On,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Vn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Xn extends Ji{constructor(e,i){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,i),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Gn}static get DefaultType(){return Vn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Xi.off(this._element.closest(Hn),Wn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=Xi.trigger(this._element,this.constructor.eventName("show")),e=(Si(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),Xi.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Fn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Xi.on(t,"mouseover",Ei);this._queueCallback((()=>{Xi.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(Xi.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(Fn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Xi.off(t,"mouseover",Ei);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Xi.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Rn,Fn),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(Rn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Nn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Rn)}_isShown(){return this.tip&&this.tip.classList.contains(Fn)}_createPopper(t){const e=Oi(this._config.placement,[this,t,this._element]),i=jn[e.toUpperCase()];return di(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return Oi(t,[this._element,this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...Oi(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)Xi.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!(e._isShown()&&e._activeTrigger.click),e.toggle()}));else if("manual"!==e){const t=e===qn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===qn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Xi.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?$n:qn]=!0,e._enter()})),Xi.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?$n:qn]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},Xi.on(this._element.closest(Hn),Wn,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=Zi.getDataAttributes(this._element);for(const t of Object.keys(e))zn.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:yi(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Xn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
45amed "${t}"`);e[t]()}}))}}Mi(Xn);const Yn={...Xn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Un={...Xn.DefaultType,content:"(null|string|element|function)"};class Kn extends Xn{static get Default(){return Yn}static get DefaultType(){return Un}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=Kn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Mi(Kn);const Zn="click.bs.scrollspy",Qn="active",Jn="[href]",tr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},er={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ir extends Ji{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return tr}static get DefaultType(){return er}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=yi(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Xi.off(this._config.target,Zn),Xi.on(this._config.target,Zn,Jn,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,s=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:s,behavior:"smooth"});i.scrollTop=s}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},s=(this._rootElement||document.documentElement).scrollTop,n=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const t=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(i(r),!s)return}else n||t||i(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=es.find(Jn,this._config.target);for(const e of t){if(!e.hash||wi(e))continue;const t=es.findOne(decodeURI(e.hash),this._element);xi(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Qn),this._activateParents(t),Xi.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))es.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Qn);else for(const e of es.parents(t,".nav, .list-group"))for(const t of es.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add(Qn)}_clearActiveClass(t){t.classList.remove(Qn);const e=es.find("[href].active",t);for(const t of e)t.classList.remove(Qn)}static jQueryInterface(t){return this.each((function(){const e=ir.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
45amed "${t}"`);e[t]()}}))}}Xi.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of es.find('[data-bs-spy="scroll"]'))ir.getOrCreateInstance(t)})),Mi(ir);const sr="ArrowLeft",nr="ArrowRight",rr="ArrowUp",or="ArrowDown",ar="Home",lr="End",hr="active",cr="fade",dr="show",ur=".dropdown-toggle",pr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',fr=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${pr}`;class gr extends Ji{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Xi.on(this._element,"keydown.bs.tab",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?Xi.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;Xi.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(hr),this._activate(es.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Xi.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(dr)}),t,t.classList.contains(cr))}_deactivate(t,e){if(!t)return;t.classList.remove(hr),t.blur(),this._deactivate(es.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Xi.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove(dr)}),t,t.classList.contains(cr))}_keydown(t){if(![sr,nr,rr,or,ar,lr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!wi(t)));let i;if([ar,lr].includes(t.key))i=e[t.key===ar?0:e.length-1];else{const s=[nr,or].includes(t.key);i=_i(e,t.target,s,!0)}i&&(i.focus({preventScroll:!0}),gr.getOrCreateInstance(i).show())}_getChildren(){return es.find(fr,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=es.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const s=(t,s)=>{const n=es.findOne(t,i);n&&n.classList.toggle(s,e)};s(ur,hr),s(".dropdown-menu",dr),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(hr)}_getInnerElement(t){return t.matches(fr)?t:es.findOne(fr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=gr.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Xi.on(document,"click.bs.tab",pr,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),wi(this)||gr.getOrCreateInstance(this).show()})),Xi.on(window,"load.bs.tab",(()=>{for(const t of es.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))gr.getOrCreateInstance(t)})),Mi(gr);const mr="hide",vr="show",br="showing",yr={animation:"boolean",autohide:"boolean",delay:"number"},xr={animation:!0,autohide:!0,delay:5e3};class wr extends Ji{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return xr}static get DefaultType(){return yr}static get NAME(){return"toast"}show(){if(Xi.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(mr),Ci(this._element),this._element.classList.add(vr,br),this._queueCallback((()=>{this._element.classList.remove(br),Xi.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}
45hide(){if(!this.isShown())return;if(Xi.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(br),this._queueCallback((()=>{this._element.classList.add(mr),this._element.classList.remove(br,vr),Xi.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vr),super.dispose()}isShown(){return this._element.classList.contains(vr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){Xi.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),Xi.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),Xi.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),Xi.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=wr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}is(wr),Mi(wr);const Sr=/[\11\12\14\15\40]+/,Er="data-once",Cr=document;function Ar(t,e,i){return t[`${e}Attribute`](Er,i)}function Tr(t){if("string"!=typeof t)throw new TypeError("once ID must be a string");if(""===t||Sr.test(t))throw new RangeError("once ID must not be empty or contain spaces");return`[data-once~="${t}"]`}function kr(t){if(!(t instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function Mr(t,e=Cr){let i=t;if(null===t)i=[];else{if(!t)throw new TypeError("Selector must not be empty");"string"!=typeof t||e!==Cr&&!kr(e)?t instanceof Element&&(i=[t]):i=e.querySelectorAll(t)}return Array.prototype.slice.call(i)}function Or(t,e,i){return e.filter((e=>{const s=kr(e)&&e.matches(t);return s&&i&&i(e),s}))}function Lr(t,{add:e,remove:i}){const s=[];Ar(t,"has")&&Ar(t,"get").trim().split(Sr).forEach((t=>{s.indexOf(t)<0&&t!==i&&s.push(t)})),e&&s.push(e);const n=s.join(" ");Ar(t,""===n?"remove":"set",n)}function _r(t,e,i){return Or(`:not(${Tr(t)})`,Mr(e,i),(e=>Lr(e,{add:t})))}_r.remove=(t,e,i)=>Or(Tr(t),Mr(e,i),(e=>Lr(e,{remove:t}))),_r.filter=(t,e,i)=>Or(Tr(t),Mr(e,i)),_r.find=(t,e)=>Mr(t?Tr(t):"[data-once]",e);const Pr=_r;var Dr=i(3101).A;const Ir=t=>{Pr("initFetchAndReplace","[data-replace-callback]",t).forEach((t=>{var e,i;e=t,i=t.dataset.replaceCallback,Dr.ajax({url:i,type:"get"}).done((t=>{e.outerHTML=t}))}))},Br=(t,e)=>{let i;return(...s)=>{clearTimeout(i),i=window.setTimeout((()=>t.apply(void 0,s)),e)}},Nr=()=>{var t,e,i;return"undefined"!=typeof drupalSettings&&void 0!==drupalSettings.mangroup_opentelemetry&&void 0!==drupalSettings.mangroup_opentelemetry.tracer_headers&&void 0!==drupalSettings.mangroup_opentelemetry.tracer_headers.traceparent&&null!==(i=null===(e=null===(t=null===drupalSettings||void 0===drupalSettings?void 0:drupalSettings.mangroup_opentelemetry)||void 0===t?void 0:t.tracer_headers)||void 0===e?void 0:e.traceparent)&&void 0!==i?i:null},zr=t=>{if(!t)return!1;const e=window.getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility&&t.offsetWidth>0&&t.offsetHeight>0},Rr=(t,e)=>{t.querySelectorAll("a, button, input").forEach((t=>{e?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1")}))},Fr=t=>{const e=t.dataset.componentFetch;if(!e)return;const i=t.querySelectorAll("a[data-pager-link]");i.length&&i.forEach((i=>{i.addEventListener("click",(async s=>{if(s.preventDefault(),i.hasAttribute("disabled")||"dots"===i.dataset.pagerLink)return!1;const n=t.getBoundingClientRect().top+window.scrollY-400;window.scrollTo({top:n,behavior:"smooth"});const r=i.getAttribute("href");t.innerHTML='\n  <div class="placeholder-glow mt-4">\n  <span class="placeholder w-25"></span>\n  <span class="placeholder w-100"></span>\n  <span class="placeholder w-100"></span>\n  <span class="placeholder w-100"></span>\n\n  <span class="placeholder w-25 mt-3"></span>\n  <span class="placeholder w-100"></span>\n\n  <span class="placeholder w-25 mt-3"></span>\n  <span class="placeholder w-100"></span>\n  <span class="placeholder w-100"></span>\n  <span class="placeholder w-100"></span>\n\n  <span class="placeholder w-25 mt-3"></span>\n  <span class="placeholder w-100"></span>\n  <span class="placeholder w-100"></span>\n  <span class="placeholder w-100"></span>\n</div>',t.innerHTML=await(async t=>{const e=Nr(),i=await fetch(t,{headers:{"X-Requested-With":"XMLHttpRequest",traceparent:e}});if(!i.ok)throw new Error(`Failed to fetch component ${t}`);return i.text()})(((t,e)=>(e="?"===e.charAt(0)?e.substring(1):e,console.log(e),e?`${t}?${e}`:t))(e,r)),Drupal.attachBehaviors(t,drupalSettings)}))}))},Hr="%[a-f0-9]{2}",Wr=new RegExp("("+Hr+")|([^%]+?)","gi"),qr=new RegExp("("+Hr+")+","gi");function $r(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const i=t.slice(0,e),s=t.slice(e);return Array.prototype.concat.call([],$r(i),$r(s))}function jr(t){try{return decodeURIComponent(t)}catch{let e=t.match(Wr)||[];for(let i=1;i<e.length;i++)t=$r(e,i).join(""),e=t.match(Wr)||[];return t}}function Gr(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){const e={"%FE%FF":"��","%FF%FE":"��"};let i=qr.exec(t);for(;i;){try{e[i[0]]=decodeURIComponent(i[0])}catch{const t=jr(i[0]);t!==i[0]&&(e[i[0]]=t)}i=qr.exec(t)}e["%C2"]="�";const s=Object.keys(e);for(const i of s)t=t.replace(new RegExp(i,"g"),e[i]);return t}(t)}}function Vr(t,e){const i={};if(Array.isArray(e))for(const s of e){const e=Object.getOwnPropertyDescriptor(t,s);e?.enumerable&&Object.defineProperty(i,s,e)}else for(const s of Reflect.ownKeys(t)){const n=Object.getOwnPropertyDescriptor(t,s);if(n.enumerable){e(s,t[s],t)&&Object.defineProperty(i,s,n)}}return i}function Xr(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const i=t.indexOf(e);return-1===i?[]:[t.slice(0,i),t.slice(i+e.length)]}const Yr=Symbol("encodeFragmentIdentifier");function Ur(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Kr(t,e){return e.encode?e.strict?encodeURIComponent(t).replaceAll(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)):encodeURIComponent(t):t}function Zr(t,e){return e.decode?Gr(t):t}function Qr(t){return Array.isArray(t)?t.sort():"object"==typeof t?Qr(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function Jr(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function to(t){const e=t.indexOf("?");return-1===e?t:t.slice(0,e)}
45function eo(t,e,i){return"string"===i&&"string"==typeof t?t:"function"==typeof i&&"string"==typeof t?i(t):"boolean"===i&&null===t||("boolean"!==i||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()?"boolean"!==i||null===t||"1"!==t.toLowerCase()&&"0"!==t.toLowerCase()?"string[]"===i&&"none"!==e.arrayFormat&&"string"==typeof t?[t]:"number[]"!==i||"none"===e.arrayFormat||Number.isNaN(Number(t))||"string"!=typeof t||""===t.trim()?"number"!==i||Number.isNaN(Number(t))||"string"!=typeof t||""===t.trim()?!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()?e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?Number(t):t:"true"===t.toLowerCase():Number(t):[Number(t)]:"1"===t.toLowerCase():"true"===t.toLowerCase())}function io(t){const e=(t=Jr(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function so(t,e){Ur((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...e}).arrayFormatSeparator);const i=function(t){let e;switch(t.arrayFormat){case"index":return(t,i,s)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===s[t]&&(s[t]={}),s[t][e[1]]=i):s[t]=i};case"bracket":return(t,i,s)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==s[t]?Array.isArray(s[t])?s[t].push(i):s[t]=[s[t],i]:s[t]=[i]:s[t]=i};case"colon-list-separator":return(t,i,s)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==s[t]?Array.isArray(s[t])?s[t].push(i):s[t]=[s[t],i]:s[t]=[i]:s[t]=i};case"comma":case"separator":return(e,i,s)=>{const n="string"==typeof i&&i.includes(t.arrayFormatSeparator)?i.split(t.arrayFormatSeparator).map((e=>Zr(e,t))):null===i?i:Zr(i,t);s[e]=n};case"bracket-separator":return(e,i,s)=>{const n=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!n)return void(s[e]=i?Zr(i,t):i);const r=null===i?[]:Zr(i,t).split(t.arrayFormatSeparator);if(void 0!==s[e]){Array.isArray(s[e])||(s[e]=[s[e]]);for(const t of r)s[e].push(t)}else s[e]=r};default:return(t,e,i)=>{void 0!==i[t]?Array.isArray(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}}}(e),s=Object.create(null);if("string"!=typeof t)return s;if(!(t=t.trim().replace(/^[?#&]/,"")))return s;let n=0;for(let r=0;r<=t.length;r++){if(r<t.length&&"&"!==t[r])continue;if(r===n){n=r+1;continue}const o=t.slice(n,r);n=r+1;const a=e.decode?o.replaceAll("+"," "):o;let[l,h]=Xr(a,"=");void 0===l&&(l=a),h=void 0===h?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?h:Zr(h,e),i(Zr(l,e),h,s)}for(const[t,i]of Object.entries(s))if("object"==typeof i&&null!==i&&"string"!==e.types[t])for(const[s,n]of Object.entries(i)){const r=e.types[t],o="function"==typeof r?r:r?r.replace("[]",""):void 0;i[s]=eo(n,e,o)}else"object"==typeof i&&null!==i&&"string"===e.types[t]?s[t]=Object.values(i).join(e.arrayFormatSeparator):s[t]=eo(i,e,e.types[t]);return!1===e.sort?s:(!0===e.sort?Object.keys(s).sort():Object.keys(s).sort(e.sort)).reduce(((t,e)=>{const i=s[e];return t[e]=Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?Qr(i):i,t}),Object.create(null))}function no(t,e){if(!t)return"";Ur((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const i=i=>e.skipNull&&null==t[i]||e.skipEmptyString&&""===t[i],s=function(t){switch(t.arrayFormat){case"index":return e=>(i,s)=>{const n=i.length;return void 0===s||t.skipNull&&null===s||t.skipEmptyString&&""===s?i:null===s?(i.push([Kr(e,t),"[",n,"]"].join("")),i):(i.push([Kr(e,t),"[",Kr(n,t),"]=",Kr(s,t)].join("")),i)};case"bracket":return e=>(i,s)=>void 0===s||t.skipNull&&null===s||t.skipEmptyString&&""===s?i:null===s?(i.push([Kr(e,t),"[]"].join("")),i):(i.push([Kr(e,t),"[]=",Kr(s,t)].join("")),i);case"colon-list-separator":return e=>(i,s)=>void 0===s||t.skipNull&&null===s||t.skipEmptyString&&""===s?i:null===s?(i.push([Kr(e,t),":list="].join("")),i):(i.push([Kr(e,t),":list=",Kr(s,t)].join("")),i);case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return i=>(s,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?s:(n=null===n?"":n,0===s.length?(s.push([Kr(i,t),e,Kr(n,t)].join("")),s):(s.push(Kr(n,t)),s)
45)}default:return e=>(i,s)=>void 0===s||t.skipNull&&null===s||t.skipEmptyString&&""===s?i:null===s?(i.push(Kr(e,t)),i):(i.push([Kr(e,t),"=",Kr(s,t)].join("")),i)}}(e),n={};for(const[e,s]of Object.entries(t))i(e)||(n[e]=s);const r=Object.keys(n);return!1!==e.sort&&r.sort(e.sort),r.map((i=>{let n=t[i];if(e.replacer&&(n=e.replacer(i,n),void 0===n))return"";if(void 0===n)return"";if(null===n)return Kr(i,e);if(Array.isArray(n)){if(0===n.length&&"bracket-separator"===e.arrayFormat)return Kr(i,e)+"[]";let t=n;e.replacer&&(t=n.map(((t,s)=>e.replacer(`${i}[${s}]`,t))).filter((t=>void 0!==t)));const r=t.reduce(s(i),[]),o=["comma","separator","bracket-separator"].includes(e.arrayFormat)?e.arrayFormatSeparator:"&";return r.join(o)}return Kr(i,e)+"="+Kr(n,e)})).filter((t=>t.length>0)).join("&")}function ro(t,e){e={decode:!0,...e};let[i,s]=Xr(t,"#");return void 0===i&&(i=t),{url:to(i??""),query:so(io(t),e),...e&&e.parseFragmentIdentifier&&s?{fragmentIdentifier:Zr(s,e)}:{}}}function oo(t,e){e={encode:!0,strict:!0,[Yr]:!0,...e};const i=to(Jr(t.url))||"";let s=no({...so(io(t.url),{sort:!1,...e}),...t.query},e);s&&=`?${s}`;let n=function(t){let e="";const i=t.indexOf("#");return-1!==i&&(e=t.slice(i)),e}(t.url);if("string"==typeof t.fragmentIdentifier){const s=new URL(i,"https://query-string.invalid");s.hash=t.fragmentIdentifier,n=e[Yr]?s.hash:`#${t.fragmentIdentifier}`}return`${i}${s}${n}`}function ao(t,e,i){i={parseFragmentIdentifier:!0,[Yr]:!1,...i};const{url:s,query:n,fragmentIdentifier:r}=ro(t,i);return oo({url:s,query:Vr(n,e),fragmentIdentifier:r},i)}function lo(t,e,i){if(Array.isArray(e)){const s=new Set(e);return ao(t,(t=>!s.has(t)),i)}return ao(t,((t,i)=>!e(t,i)),i)}const ho=e,co=(t,e)=>{let i=new Map,s=e||window.location.search;return s&&s.substring(1).replace(/\+/g,"%20").split("&").forEach((e=>{let s=e.split("=").map((t=>decodeURIComponent(t))),n=s[0].replace(/\[.*\]/,""),r=s[1];t?(i.has(n)||i.set(n,[]),i.get(n).push(r)):""!==r&&i.set(n,r)})),Object.fromEntries(i)},uo=t=>(t.text&&(t.text=t.text.replace(/[ \t]+$/,"")),ho.stringify(t,{arrayFormat:"bracket",skipNull:!0,skipEmptyString:!0}));var po=200,fo=["transform","opacity"];function go(t,e=po){return function(t,e=po){let i=t.trim();if(!i)return e;if(i.endsWith("ms")){let t=parseFloat(i);return Number.isNaN(t)?e:t}if(i.endsWith("s")){let t=parseFloat(i);return Number.isNaN(t)?e:1e3*t}let s=parseFloat(i);return Number.isNaN(s)?e:s}(getComputedStyle(t).getPropertyValue("--ss-animation-timing").trim(),e)}function mo(t,e,i=po){let s=go(t,i)+50;return void 0===e?s:Math.max(s,e)}function vo(){return!(typeof window>"u"||"function"!=typeof window.matchMedia)&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}function bo(t,e,i=po,s){if(vo()||s?.aborted)return Promise.resolve();let n=function(t){return void 0===t?null:new Set(Array.isArray(t)?t:[t])}(e);return new Promise((e=>{let r=null,o=!1,a=()=>{o||(o=!0,t.removeEventListener("transitionend",h),s?.removeEventListener("abort",l),r&&clearTimeout(r),e())},l=()=>a(),h=e=>{e.target===t&&(n&&(!n.has(e.propertyName)||(n.delete(e.propertyName),n.size>0))||a())};s?.addEventListener("abort",l,{once:!0}),t.addEventListener("transitionend",h),r=setTimeout(a,i)}))}function yo(t,e,i=po,s){return vo()||s?.aborted?Promise.resolve():new Promise((n=>{let r=null,o=!1,a=()=>{o||(o=!0,t.removeEventListener("animationend",h),s?.removeEventListener("abort",l),r&&clearTimeout(r),n())},l=()=>a(),h=i=>{i.target===t&&(e&&i.animationName!==e||a())};s?.addEventListener("abort",l,{once:!0}),t.addEventListener("animationend",h),r=setTimeout(a,i)}))}function xo(t){if(!t)return{};let e={};for(let i of Object.keys(t)){let s=t[i];void 0!==s&&(e[i]=s)}return e}function wo(t){let e=t.cloneNode(!0);return e.querySelectorAll("select, option, optgroup, textarea, input, button").forEach((t=>t.remove())),e.textContent?.replace(/\s+/g," ").trim()||""}function So(){return Math.random().toString(36).substring(2,10)}function Eo(t,e){function i(t,i){return i&&t&&t.classList&&t.classList.contains(i)||i&&t&&t.dataset&&t.dataset.id&&t.dataset.id===e?t:null}return i(t,e)||function t(e,s){return e&&e!==document?i(e,s)?e:t(e.parentNode,s):null}(t,e)}function Co(t,e=50,i=!1){let s;return function(...n){let r=self,o=i&&!s;clearTimeout(s),s=setTimeout((()=>{s=null,i||t.apply(r,n)}),e),o&&t.apply(r,n)}}function Ao(t,e){if(t.length!==e.length)return!1;let i=[...t].sort(),s=[...e].sort();return i.every(((t,e)=>t===s[e]))}var To=["id","value","text","html","defaultSelected","selected","display","disabled","placeholder","class","style","mandatory"];function ko(t,e){switch(e){case"id":return t.id||"";case"value":return void 0===t.value?t.text||"":t.value||"";case"text":return t.text||"";case"html":return t.html||"";case"defaultSelected":return t.defaultSelected??!1;case"selected":return t.selected??!1;case"display":return t.display??!0;case"disabled":return t.disabled??!1;case"placeholder":return t.placeholder??!1;case"class":return t.class||"";case"style":return t.style||"";case"mandatory":return t.mandatory??!1;default:return t.data||{}}}function Mo(t){return!!t&&"object"==typeof t&&"label"in t&&"options"in t}function Oo(t,e){for(let i of To)if(ko(t,i)!==ko(e,i))return!1;return function(t,e){let i=Object.keys(t),s=Object.keys(e);if(i.length!==s.length)return!1;for(let s of i)if(t[s]!==e[s])return!1;return!0}(t.data||{},e.data||{})}function Lo(t,e){let i=t=>({id:t.id||"",label:t.label||"",selectAll:t.selectAll??!1,closable:t.closable||"off"}),s=i(t),n=i(e);if(s.id!==n.id||s.label!==n.label||s.selectAll!==n.selectAll||s.closable!==n.closable)return!1;let r=t.options||[],o=e.options||[];if(r.length!==o.length)return!1;for(let t=0;t<r.length;t++)if(!Oo(r[t],o[t]))return!1;return!0}var _o=class{id;value;text;html;defaultSelected;selected;display;disabled;placeholder;class;style;data;mandatory;constructor(t){this.id=t.id&&""!==t.id?t.id:So(),this.value=void 0===t.value?t.text||"":t.value||"",this.text=t.text||"",this.html=t.html||"",this.defaultSelected=void 0!==t.defaultSelected&&t.defaultSelected,this.selected=void 0!==t.selected&&t.selected,this.display=void 0===t.display||t.display,this.disabled=void 0!==t.disabled&&t.disabled,this.mandatory=void 0!==t.mandatory&&t.mandatory,this.placeholder=void 0!==t.placeholder&&t.placeholder,this.class=t.class||"",this.style=t.style||"",this.data=xo(t.data)}},Po=class{id;label;selectAll;closable;options;constructor(t){if(this.id=t.id&&""!==t.id?t.id:So(),this.label=t.label||"",this.selectAll=void 0!==t.selectAll&&t.selectAll,this.closable=t.closable||"off",this.options=[],t.options)for(let e of t.options)this.options.push(new _o(e))}},Do=class{settings;store;callbacks;lastSelectedOption;lastRenderedOptions;optionsListIsFullData=!1;lastSearchFilterTerm="";main;content;classes;positionObserver=null;positionObserverRaf=0;overflowShiftRaf=0;modalElements=null;modalSessionActive=null;bodyScrollLocked=!1;savedBodyOverflow="";constructor(t,e,i,s){this.store=i,this.settings=t,this.classes=e,this.callbacks=s,this.lastSelectedOption=null,this.lastRenderedOptions=[],this.main=this.mainDiv(),this.content=this.contentDiv(),this.updateClassStyles(),this.updateAriaAttributes(),"relative"!==this.settings.contentPosition&&(this.content.main.style.top="-9999px",this.content.main.style.left="-9999px",this.content.main.style.margin="0",this.content.main.style.width="auto"),this.settings.contentLocation&&this.settings.contentLocation.appendChild(this.content.main),"off"!==this.settings.modal&&!this.settings.alwaysOpen&&(this.modalElements=this.createModalElements(),document.body.appendChild(this.modalElements.overlay))}requestClose(t,e){this.callbacks.close({source:t,option:e?.option,selectionChanged:e?.selectionChanged??!1})}selectionChanged(t,e){if(t.length!==e.length)return!0;let i=t.map((t=>t.id)).sort(),s=e.map((t=>t.id)).sort();return i.some(((t,e)=>t!==s[e]))}closeOnSingleSelectReclick(t){this.settings.closeOnSelect&&this.requestClose("select",{option:t,selectionChanged:!1})}addClasses(t,e){if(!e||""===e.trim())return;let i=e.split(" ").filter((t=>""!==t.trim()));for(let e of i)t.classList.add(e.trim())}removeClasses(t,e){if(!e||""===e.trim())return;let i=e.split(" ").filter((t=>""!==t.trim()));for(let e of i)t.classList.remove(e.trim())}enable(){this.removeClasses(this.main.main,this.classes.disabled),this.main.main.setAttribute("aria-disabled","false"),this.content.search.input.disabled=!1}disable(){this.addClasses(this.main.main,this.classes.disabled),this.main.main.setAttribute("aria-disabled","true"),this.content.search.input.disabled=!0}open(){this.main.arrow.path.setAttribute("d",this.classes.arrowOpen),this.main.main.setAttribute("aria-expanded","true");let t=this.resolveModalView();if(!t){let t="up"===this.settings.openPosition?this.classes.dirAbove:this.classes.dirBelow;this.addClasses(this.main.main,t),this.addClasses(this.content.main,t)}this.addClasses(this.content.main,this.classes.contentOpen),this.content.search.input.removeAttribute("aria-hidden"),t?this.showModal():this.moveContent();let e=this.store.getSelectedOptions();if(e.length){let t=e[e.length-1].id,i=this.content.list.querySelector('[data-id="'+t+'"]');
45i&&this.ensureElementInView(this.content.list,i)}}isModalViewActive(){return!0===this.modalSessionActive}resolveModalView(){return!(this.settings.alwaysOpen||"off"===this.settings.modal||!this.modalElements)&&(null===this.modalSessionActive&&(this.modalSessionActive=function(t,e=(typeof window<"u"?window.innerWidth:768)){return"on"===t||"mobile"===t&&e<768}(this.settings.modal)),this.modalSessionActive)}createModalElements(){let t=document.createElement("div");this.addClasses(t,this.classes.modalOverlay),this.addClasses(t,this.classes.hide),t.dataset.id=this.settings.id;let e=document.createElement("div");this.addClasses(e,this.classes.modalDialog),e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true");let i=null;this.settings.modalTitle?(i=document.createElement("div"),this.addClasses(i,this.classes.modalTitle),i.id=`${this.settings.id}-modal-title`,i.textContent=this.settings.modalTitle,e.setAttribute("aria-labelledby",i.id)):e.setAttribute("aria-label",this.settings.ariaLabel);let s=document.createElement("button");s.type="button",this.addClasses(s,this.classes.modalClose),s.setAttribute("aria-label","Close"),s.onclick=t=>{t.stopPropagation(),this.requestClose("modal")};let n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("viewBox","0 0 100 100");let r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d",this.classes.deselectPath),n.appendChild(r),s.appendChild(n),t.onclick=e=>{e.target===t&&this.requestClose("modal")},i&&e.appendChild(i),t.appendChild(e),{overlay:t,dialog:e,closeButton:s,title:i}}showModal(){this.modalElements&&(this.modalElements.dialog.appendChild(this.content.main),this.addClasses(this.content.main,this.classes.modalContent),this.content.main.appendChild(this.modalElements.closeButton),this.content.main.style.top="",this.content.main.style.left="",this.content.main.style.margin="",this.content.main.style.width="",this.removeClasses(this.modalElements.overlay,this.classes.hide),requestAnimationFrame((()=>{this.modalElements&&this.addClasses(this.modalElements.overlay,this.classes.contentOpen)})),this.lockBodyScroll())}lockBodyScroll(){this.bodyScrollLocked||=(this.savedBodyOverflow=document.body.style.overflow,document.body.style.overflow="hidden",!0)}unlockBodyScroll(){this.bodyScrollLocked&&(document.body.style.overflow=this.savedBodyOverflow,this.bodyScrollLocked=!1,this.savedBodyOverflow="")}restoreContentOffscreen(){this.settings.contentLocation&&this.settings.contentLocation.appendChild(this.content.main),"relative"!==this.settings.contentPosition&&(this.content.main.style.top="-9999px",this.content.main.style.left="-9999px",this.content.main.style.margin="0",this.content.main.style.width="auto")}finalizeModalClose(){this.modalElements&&this.content.main.parentElement===this.modalElements.dialog&&(this.addClasses(this.modalElements.overlay,this.classes.hide),this.removeClasses(this.modalElements.overlay,this.classes.contentOpen),this.removeClasses(this.content.main,this.classes.modalContent),this.modalElements.closeButton.remove(),this.restoreContentOffscreen(),this.unlockBodyScroll())}waitForAnimation(t,e){let i=mo(this.content.main,this.settings.timeoutDelay);return bo(this.content.main,fo,i,e)}close(){this.main.main.setAttribute("aria-expanded","false"),this.main.arrow.path.setAttribute("d",this.classes.arrowClose);let t=!0===this.modalSessionActive;this.removeClasses(this.content.main,this.classes.contentOpen),t||(this.removeClasses(this.main.main,this.classes.dirAbove),this.removeClasses(this.main.main,this.classes.dirBelow)),t&&this.modalElements&&this.removeClasses(this.modalElements.overlay,this.classes.contentOpen),this.modalSessionActive=null,this.content.search.input.setAttribute("aria-hidden","true"),this.main.main.removeAttribute("aria-activedescendant")}clearDirectionClasses(){this.removeClasses(this.main.main,this.classes.dirAbove),this.removeClasses(this.main.main,this.classes.dirBelow),this.removeClasses(this.content.main,this.classes.dirAbove),this.removeClasses(this.content.main,this.classes.dirBelow)}updateClassStyles(){if(this.main.main.className="",this.main.main.removeAttribute("style"),this.content.main.className="",this.content.main.removeAttribute("style"),this.addClasses(this.main.main,this.classes.main),this.addClasses(this.content.main,this.classes.content),""!==this.settings.style&&(this.main.main.style.cssText=this.settings.style,this.content.main.style.cssText=this.settings.style),this.settings.class.length)for(let t of this.settings.class)""!==t.trim()&&(this.main.main.classList.add(t.trim()),this.content.main.classList.add(t.trim()));("relative"===this.settings.contentPosition||"fixed"===this.settings.contentPosition)&&this.content.main.classList.add("ss-"+this.settings.contentPosition)}updateAriaAttributes(){let t=this.content.list.id;this.main.main.role="combobox",this.main.main.setAttribute("aria-haspopup","listbox"),this.main.main.setAttribute("aria-controls",t),this.main.main.setAttribute("aria-expanded","fal
45se"),this.content.list.setAttribute("role","listbox"),this.content.list.setAttribute("aria-label",this.settings.ariaLabel+" listbox"),this.settings.isMultiple&&this.content.list.setAttribute("aria-multiselectable","true"),this.content.search.input.setAttribute("aria-controls",t)}mainDiv(){let t=document.createElement("div");t.dataset.id=this.settings.id,t.setAttribute("aria-label",this.settings.ariaLabel),t.tabIndex=0,t.onkeydown=t=>{switch(t.key){case"ArrowUp":case"ArrowDown":return this.callbacks.open(),"ArrowDown"===t.key?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.requestClose("tab"),!0;case"Enter":case" ":this.callbacks.open();let e=this.content.list.querySelector("."+this.classes.getFirst("highlighted"));return e&&e.click(),!1;case"Escape":return this.requestClose("escape"),!1}return 1===t.key.length&&this.callbacks.open(),!0},t.onclick=t=>{this.settings.disabled||(this.settings.isOpen?this.requestClose("toggle"):this.callbacks.open())};let e=document.createElement("div");this.addClasses(e,this.classes.values),t.appendChild(e);let i=document.createElement("div");this.addClasses(i,this.classes.deselect),i.setAttribute("role","button"),i.setAttribute("aria-label",this.settings.deselectText),i.setAttribute("tabindex","0");let s=this.store?.getSelectedOptions();!this.settings.allowDeselect||this.settings.isMultiple&&s&&s.length<=0||this.isAtMinSelected()?this.addClasses(i,this.classes.hide):this.removeClasses(i,this.classes.hide),i.onclick=t=>{if(t.stopPropagation(),this.settings.disabled||this.settings.isMultiple&&this.isAtMinSelected())return;let e=!0,i=this.store.getSelectedOptions(),s=[],n="";if(this.settings.isMultiple){let t=this.settings.minSelected,e=this.store.getSelected();if(t>0&&e.length>t)n=this.getMinimumSelectionIds(),s=i.filter((t=>n.includes(t.id)));else{if(!(t<=0))return;n=[]}}if(this.callbacks.beforeChange&&(e=!0===this.callbacks.beforeChange(s,i)),e){if(this.settings.isMultiple)this.callbacks.setSelected(n,!1),this.updateDeselectAll();else{let t=this.store.getFirstOption(),e=t?t.id:"";this.callbacks.setSelected(e,!1)}this.settings.closeOnSelect&&this.requestClose("deselect",{selectionChanged:!0}),this.callbacks.afterChange&&this.callbacks.afterChange(this.store.getSelectedOptions())}},i.onkeydown=t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),i.click())};let n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("viewBox","0 0 100 100");let r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d",this.classes.deselectPath),n.appendChild(r),i.appendChild(n),t.appendChild(i);let o=document.createElementNS("http://www.w3.org/2000/svg","svg");this.addClasses(o,this.classes.arrow),o.setAttribute("viewBox","0 0 100 100");let a=document.createElementNS("http://www.w3.org/2000/svg","path");return a.setAttribute("d",this.classes.arrowClose),this.settings.alwaysOpen&&this.addClasses(o,this.classes.hide),o.appendChild(a),t.appendChild(o),{main:t,values:e,deselect:{main:i,svg:n,path:r},arrow:{main:o,path:a}}}mainFocus(t){"click"!==t&&this.main.main.focus({preventScroll:!0})}placeholder(){let t=this.store.filter((t=>t.placeholder),!1,!1),e=this.settings.placeholderText;t.length&&(""===t[0].html?""!==t[0].text&&(e=t[0].text):e=t[0].html);let i=document.createElement("div");return this.addClasses(i,this.classes.placeholder),i.innerHTML=e,i}renderValues(){this.settings.isMultiple?(this.renderMultipleValues(),this.updateDeselectAll()):this.renderSingleValue()}renderSingleValue(){let t=this.store.filter((t=>t.selected&&!t.placeholder),!1,!1),e=t.length>0?t[0]:null;if(e){let t=document.createElement("div");this.addClasses(t,this.classes.single),e.html?t.innerHTML=e.html:t.innerText=e.text,this.main.values.innerHTML=t.outerHTML}else this.main.values.innerHTML=this.placeholder().outerHTML;this.settings.allowDeselect&&t.length?this.removeClasses(this.main.deselect.main,this.classes.hide):this.addClasses(this.main.deselect.main,this.classes.hide)}renderMultipleValues(){let t=this.main.values.childNodes,e=this.store.filter((t=>t.selected&&t.display),!1,!1);if(0===e.length)return void(this.main.values.innerHTML=this.placeholder().outerHTML);{let t=this.main.values.querySelector("."+this.classes.getFirst("placeholder"));t&&t.remove()}if(this.settings.multiString){let t=e;this.settings.keepOrder&&(t=this.store.selectedOrderOptions(t));let i=document.createElement("div");return this.addClasses(i,this.classes.multiString),i.textContent=t.map((t=>t.text)).join(", "),this.settings.showOptionTooltips&&i.setAttribute("title",i.textContent),void(this.main.values.innerHTML=i.outerHTML)}if(e.length>this.settings.maxValuesShown){let t=document.createElement("div");return this.addClasses(t,this.classes.max),t.textContent=this.settings.maxValuesMessage.replace("{number}",e.length.toString()),void(this.main.values.innerHTML=t.outerHTML)}{let t=this.main.values.querySelector("."+this.classes.getFirst("max"));t&&t.remove()}this.settings.keepOrder&&(e=this.store.selectedOrderOptions(e));let i=[];for(let s=0;s<t.length;s++){let n=t[s],r=n.getAttribute("data-id");r&&(e.filter((t=>
45t.id===r),!1).length||i.push(n))}let s=mo(this.content.main,this.settings.timeoutDelay);for(let t of i)this.addClasses(t,this.classes.valueOut),yo(t,"ss-valueOut",s).then((()=>{this.main.values.hasChildNodes()&&this.main.values.contains(t)&&this.main.values.removeChild(t)}));t=this.main.values.childNodes;for(let i=0;i<e.length;i++){let s=!0;for(let n=0;n<t.length;n++)e[i].id===String(t[n].dataset.id)&&(s=!1);s&&(this.settings.keepOrder||0===t.length?this.main.values.appendChild(this.multipleValue(e[i])):0===i?this.main.values.insertBefore(this.multipleValue(e[i]),t[i]):t[i-1].insertAdjacentElement("afterend",this.multipleValue(e[i])))}this.updateMultipleValueDeleteVisibility()}isAtMinSelected(){return this.settings.isMultiple&&this.settings.minSelected>0&&this.store.getSelectedOptions().length<=this.settings.minSelected}getMinimumSelectionIds(){let t=this.store.getSelectedOptions();return this.settings.keepOrder&&(t=this.store.selectedOrderOptions(t)),t.slice(0,this.settings.minSelected).map((t=>t.id))}updateMultipleValueDeleteVisibility(){if(!this.settings.isMultiple||this.settings.multiString)return;let t=!this.isAtMinSelected(),e=this.main.values.querySelectorAll("."+this.classes.getFirst("valueDelete"));for(let i of e)t?this.removeClasses(i,this.classes.hide):this.addClasses(i,this.classes.hide)}multipleValue(t){let e=document.createElement("div");this.addClasses(e,this.classes.value),e.dataset.id=t.id;let i=document.createElement("div");if(this.addClasses(i,this.classes.valueText),i.textContent=t.text,e.appendChild(i),!t.mandatory){let i=document.createElement("div");this.addClasses(i,this.classes.valueDelete),i.setAttribute("tabindex","0"),i.setAttribute("role","button"),i.setAttribute("aria-label",`${this.settings.removeText} ${t.text}`),this.isAtMinSelected()&&this.addClasses(i,this.classes.hide),i.onclick=e=>{if(e.preventDefault(),e.stopPropagation(),this.settings.disabled)return;let i=!0,s=this.store.getSelectedOptions(),n=s.filter((e=>e.selected&&e.id!==t.id),!0);if(!(this.settings.minSelected&&n.length<this.settings.minSelected)&&(this.callbacks.beforeChange&&(i=!0===this.callbacks.beforeChange(n,s)),i)){let t=[];
45for(let e of n){if(e instanceof Po)for(let i of e.options)i.id&&t.push(i.id);e instanceof _o&&t.push(e.id)}this.callbacks.setSelected(t,!1),this.settings.closeOnSelect&&this.requestClose("deselect",{selectionChanged:!0}),this.callbacks.afterChange&&this.callbacks.afterChange(n),this.updateDeselectAll(),this.updateMultipleValueDeleteVisibility()}};let s=document.createElementNS("http://www.w3.org/2000/svg","svg");s.setAttribute("viewBox","0 0 100 100");let n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d",this.classes.optionDelete),s.appendChild(n),i.appendChild(s),e.appendChild(i),i.onkeydown=t=>{"Enter"===t.key&&i.click()}}return e}contentDiv(){let t=document.createElement("div");t.dataset.id=this.settings.id;let e=this.searchDiv();t.appendChild(e.main);let i=document.createElement("div");this.addClasses(i,this.classes.status),i.setAttribute("aria-live","polite"),i.setAttribute("aria-atomic","true"),i.setAttribute("role","status"),t.appendChild(i);let s=this.listDiv();return t.appendChild(s),{main:t,search:e,status:i,list:s}}announce(t){this.settings.showSearch&&(this.content.status.textContent=t)}moveContent(){if(!this.isModalViewActive()){if("relative"===this.settings.contentPosition)return void this.moveContentBelow();if("down"===this.settings.openPosition)return void this.moveContentBelow();if("up"===this.settings.openPosition)return void this.moveContentAbove();"up"===this.putContent()?this.moveContentAbove():this.moveContentBelow()}}startPositionTracking(){"absolute"!==this.settings.contentPosition||this.isModalViewActive()||(this.stopPositionTracking(),!(typeof ResizeObserver>"u")&&(this.positionObserver=new ResizeObserver((()=>{this.settings.isOpen&&(cancelAnimationFrame(this.positionObserverRaf),this.positionObserverRaf=requestAnimationFrame((()=>{this.moveContent()})))})),this.observePositionTargets()))}stopPositionTracking(){cancelAnimationFrame(this.positionObserverRaf),this.positionObserver?.disconnect(),this.positionObserver=null,this.cancelOverflowShift()}observePositionTargets(){if(!this.positionObserver)return;let t=new Set,e=e=>{!e||t.has(e)||(t.add(e),this.positionObserver.observe(e))};e(this.main.main);let i=this.main.main.parentElement,s=this.settings.contentLocation;for(let t=0;i&&t<8&&(e(i),i!==s);t++)i=i.parentElement}searchDiv(){let t=document.createElement("div"),e=document.createElement("input"),i=document.createElement("div");this.addClasses(t,this.classes.search);let s={main:t,input:e};if(this.settings.showSearch||(this.addClasses(t,this.classes.hide),e.readOnly=!0),e.type="search",e.placeholder=this.settings.searchPlaceholder,e.tabIndex=-1,e.setAttribute("aria-label",this.settings.searchPlaceholder),e.setAttribute("aria-autocomplete","list"),e.setAttribute("autocapitalize","off"),e.setAttribute("autocomplete","off"),e.setAttribute("autocorrect","off"),e.setAttribute("aria-hidden","true"),e.oninput=Co((t=>{this.callbacks.search(t.target.value)}),100),e.onkeydown=t=>{switch(t.key){case"ArrowUp":case"ArrowDown":return"ArrowDown"===t.key?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.requestClose("tab"),!0;case"Escape":return this.requestClose("escape"),!1;case"Enter":let e=this.content.list.querySelector("."+this.classes.getFirst("highlighted"));return e?(e.click(),!1):!this.callbacks.addable||(i.click(),!1)}return!0},t.appendChild(e),this.callbacks.addable){this.addClasses(i,this.classes.addable);let e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("viewBox","0 0 100 100");let n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d",this.classes.addablePath),e.appendChild(n),i.appendChild(e),i.onclick=t=>{if(t.preventDefault(),t.stopPropagation(),!this.callbacks.addable)return;let e=this.content.search.input.value.trim();if(""===e)return void this.content.search.input.focus();let i=t=>{let e=new _o(t);if(this.callbacks.addOption(e),this.settings.isMultiple){let t=this.store.getSelected();t.push(e.id),this.callbacks.setSelected(t,!0)}else this.callbacks.setSelected([e.id],!0);if(this.callbacks.search(""),this.settings.closeOnSelect){let t=go(this.content.main);setTimeout((()=>{this.requestClose("select",{selectionChanged:!0})}),t)}}
45,s=this.callbacks.addable(e);!1===s||null==s||(s instanceof Promise?s.then((t=>{"string"==typeof t?i({text:t,value:t}):s instanceof Error?this.renderError(s.message):i(t)})):"string"==typeof s?i({text:s,value:s}):s instanceof Error?this.renderError(s.message):i(s))},t.appendChild(i),s.addable={main:i,svg:e,path:n}}return s}searchFocus(){this.content.search.input.focus({preventScroll:!0})}getOptions(t=!1,e=!1,i=!1){let s="."+this.classes.getFirst("option");return t&&(s+=":not(."+this.classes.getFirst("placeholder")+")"),e&&(s+=":not(."+this.classes.getFirst("disabled")+")"),i&&(s+=":not(."+this.classes.getFirst("hide")+")"),Array.from(this.content.list.querySelectorAll(s))}highlight(t){let e=this.getOptions(!0,!0,!0);if(0===e.length)return;if(1===e.length&&!e[0].classList.contains(this.classes.getFirst("highlighted")))return void this.addClasses(e[0],this.classes.highlighted);let i=!1;for(let t of e)t.classList.contains(this.classes.getFirst("highlighted"))&&(i=!0);if(!i)for(let t of e)if(t.classList.contains(this.classes.getFirst("selected"))){this.addClasses(t,this.classes.highlighted);break}for(let i=0;i<e.length;i++)if(e[i].classList.contains(this.classes.getFirst("highlighted"))){let s=e[i];this.removeClasses(s,this.classes.highlighted);let n=s.parentElement;if(n&&n.classList.contains(this.classes.getFirst("mainOpen"))){let t=n.querySelector("."+this.classes.getFirst("optgroupLabel"));t&&t.click()}let r=e["down"===t?i+1<e.length?i+1:0:i-1>=0?i-1:e.length-1];this.addClasses(r,this.classes.highlighted),this.ensureElementInView(this.content.list,r),r.id&&this.main.main.setAttribute("aria-activedescendant",r.id);let o=r.parentElement;if(o&&o.classList.contains(this.classes.getFirst("close"))){let t=o.querySelector("."+this.classes.getFirst("optgroupLabel"));t&&t.click()}return}let s=e["down"===t?0:e.length-1];this.addClasses(s,this.classes.highlighted),s.id&&this.main.main.setAttribute("aria-activedescendant",s.id),this.ensureElementInView(this.content.list,s)}listDiv(){let t=document.createElement("div");this.addClasses(t,this.classes.list);let e=this.settings.id+"-list";return t.id=e,t.dataset.id=e,t}renderError(t){this.optionsListIsFullData=!1,this.content.list.innerHTML="";let e=document.createElement("div");this.addClasses(e,this.classes.error),e.textContent=t,this.content.list.appendChild(e)}renderSearching(){this.optionsListIsFullData=!1,this.content.list.innerHTML="";let t=document.createElement("div");this.addClasses(t,this.classes.searching),t.textContent=this.settings.searchingText,this.content.list.appendChild(t),this.announce(this.settings.searchingText)}renderOptions(t){if(this.lastSearchFilterTerm="",this.lastRenderedOptions=t.map((t=>t instanceof _o?[t]:t.options.map((t=>new _o(t))))).flat(),this.content.list.innerHTML="",0===t.length){this.optionsListIsFullData=!1;let t=document.createElement("div");if(this.addClasses(t,this.classes.search),this.callbacks.addable){let e=this.settings.addableText.replace("{value}",this.content.search.input.value);t.innerHTML=e,this.announce(e)}else t.innerHTML=this.settings.searchText,this.announce(this.settings.searchText);return void this.content.list.appendChild(t)}this.settings.allowDeselect&&!this.settings.isMultiple&&(this.store.filter((t=>t.placeholder),!1,!1).length||this.store.addOption(new _o({text:"",value:"",selected:!1,placeholder:!0}),!0));let e=document.createDocumentFragment();for(let i of t){if(i instanceof Po){let t=document.createElement("div");this.addClasses(t,this.classes.optgroup);let s=document.createElement("div");this.addClasses(s,this.classes.optgroupLabel),t.appendChild(s);let n=document.createElement("div");this.addClasses(n,this.classes.optgroupLabelText),n.textContent=i.label,s.appendChild(n);let r=document.createElement("div");if(this.addClasses(r,this.classes.optgroupActions),s.appendChild(r),this.settings.isMultiple&&i.selectAll){let t=document.createElement("div");this.addClasses(t,this.classes.optgroupSelectAll);let e=this.isOptgroupAllSelected(i.options);e&&this.addClasses(t,this.classes.selected);let s=document.createElement("span");s.textContent=this.optgroupSelectAllLabel(e),t.appendChild(s);let n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("viewBox","0 0 100 100"),t.appendChild(n);let o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d",this.classes.optgroupSelectAllBox),n.appendChild(o);let a=document.createElementNS("http://www.w3.org/2000/svg","path");a.setAttribute("d",this.classes.optgroupSelectAllCheck),n.appendChild(a),t.addEventListener("click",(t=>{t.preventDefault(),t.stopPropagation();let e=this.store.getSelected();if(this.isOptgroupAllSelected(i.options,new Set(e))){let t=e.filter((t=>{for(let e of i.options)if(t===e.id)return!1;return!0}));this.callbacks.setSelected(t,!0)}else{let t=i.options.map((t=>t.id)).filter((t=>void 0!==t)),s=e.concat(t);for(let t of i.options)t.id&&!this.store.getOptionByID(t.id)&&this.callbacks.addOption(new _o(t));this.callbacks.setSelected(s,!0)}})),r.appendChild(t)}if("off"!==i.closable){let e=document.createElement("div");this.addClasses(e,this.classes.optgroupClosable);let n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("viewBox","0 0 100 100"),this.addClasses(n,this.classes.arrow),e.appendChild(n);let o=document.createElementNS("http://www.w3.org/2000/svg","path");n.appendChild(o),i.options.some((t=>t.selected))||""!==this.content.search.input.value.trim()?(this.addClasses(e,this.classes.mainOpen),o.setAttribute("d",this.classes.arrowOpen)):"open"===i.closable?(this.addClasses(t,this.classes.mainOpen),o.setAttribute("d",this.classes.arrowOpen)):"close"===i.closable&&(this.addClasses(t,this.classes.close),o.setAttribute("d",this.classes.arrowClose)),s.addEventListener("click",(i=>{i.preventDefault(),i.stopPropagation(),this.isClosableOptgroupOpen(t,e)?(this.removeClasses(t,this.classes.mainOpen),this.removeClasses(e,this.classes.mainOpen),this.addClasses(t,this.classes.close),o.setAttribute("d",this.classes.arrowClose)):(this.closeOtherClosableOptgroups(t),this.removeClasses(t,this.classes.close),this.removeClasses(e,this.classes.mainOpen),this.addClasses(t,this.classes.mainOpen),o.setAttribute("d",this.classes.arrowOpen))}
45)),r.appendChild(e)}t.appendChild(s);for(let s of i.options)t.appendChild(this.option(new _o(s))),e.appendChild(t)}i instanceof _o&&e.appendChild(this.option(i))}this.content.list.appendChild(e),this.setOptionsListFullData(t),this.announce(this.settings.resultsText.replace("{count}",String(this.lastRenderedOptions.length)))}canFilterOptionsInPlace(){return!!this.optionsListIsFullData&&null!==this.content.list.querySelector("."+this.classes.getFirst("option"))}resetSearchFilterState(){this.lastSearchFilterTerm=""}filterOptionsInPlace(t,e){let i=t.trim();if(i===this.lastSearchFilterTerm)return;this.lastSearchFilterTerm=i;let s=[],n=this.content.list.querySelectorAll("."+this.classes.getFirst("option"));for(let t of n){let n=t.dataset.id;if(!n)continue;let r=this.store.getOptionByID(n);if(!r)continue;let o=r.placeholder||!r.display||r.selected&&this.settings.hideSelected,a=e(r,i);o||!a?(this.addClasses(t,this.classes.hide),this.removeClasses(t,this.classes.highlighted)):(this.removeClasses(t,this.classes.hide),this.setOptionElementContent(t,r,i),s.push(r)),r.selected?(this.addClasses(t,this.classes.selected),t.setAttribute("aria-selected","true")):(this.removeClasses(t,this.classes.selected),t.setAttribute("aria-selected","false"))}this.lastRenderedOptions=s,this.updateOptgroupVisibilityAfterSearch(i),0===s.length?this.updateSearchResultsMessage(0,i):(this.removeListSearchMessage(),this.announce(this.settings.resultsText.replace("{count}",String(s.length)))),this.updateOptgroupSelectAllStates()}setOptionsListFullData(t){let e=this.store.getDataOptions(!1),i=t.map((t=>t instanceof _o?[t]:t.options.map((t=>new _o(t))))).flat();if(i.length!==e.length)return void(this.optionsListIsFullData=!1);let s=new Set(e.map((t=>t.id)));this.optionsListIsFullData=i.every((t=>s.has(t.id)))}isClosableOptgroupOpen(t,e){return!t.classList.contains(this.classes.getFirst("close"))&&(t.classList.contains(this.classes.getFirst("mainOpen"))||e.classList.contains(this.classes.getFirst("mainOpen")))}closeClosableOptgroup(t){let e=t.querySelector("."+this.classes.getFirst("optgroupClosable"));if(!e||t.classList.contains(this.classes.getFirst("close")))return;this.removeClasses(t,this.classes.mainOpen),this.removeClasses(e,this.classes.mainOpen),this.addClasses(t,this.classes.close);let i=e.querySelector("path");i&&i.setAttribute("d",this.classes.arrowClose)}closeOtherClosableOptgroups(t){let e=this.content.list.querySelectorAll("."+this.classes.getFirst("optgroup"));for(let i of e)i!==t&&this.closeClosableOptgroup(i)}updateOptgroupVisibilityAfterSearch(t){let e=this.content.list.querySelectorAll("."+this.classes.getFirst("optgroup"));for(let i of e){let e=i.querySelectorAll("."+this.classes.getFirst("option")),s=!1;for(let t of e)if(!t.classList.contains(this.classes.getFirst("hide"))){s=!0;break}s?(this.removeClasses(i,this.classes.hide),""!==t&&(this.removeClasses(i,this.classes.close),this.addClasses(i,this.classes.mainOpen))):this.addClasses(i,this.classes.hide)}}updateSearchResultsMessage(t,e){if(this.removeListSearchMessage(),t>0)return;let i=document.createElement("div");if(this.addClasses(i,this.classes.search),this.callbacks.addable){let t=this.settings.addableText.replace("{value}",e);i.innerHTML=t,this.announce(t)}else i.innerHTML=this.settings.searchText,this.announce(this.settings.searchText);this.content.list.appendChild(i)}removeListSearchMessage(){this.content.list.querySelectorAll("."+this.classes.getFirst("search")).forEach((t=>t.remove()))}setOptionElementContent(t,e,i){let s=i.trim();this.settings.searchHighlight&&""!==s?t.innerHTML=this.highlightText(""===e.html?e.text:e.html,s,this.classes.searchHighlighter):""===e.html?t.textContent=e.text:t.innerHTML=e.html,this.settings.showOptionTooltips&&t.textContent?t.setAttribute("title",t.textContent):t.removeAttribute("title")}hasRenderedOptions(){return null!==this.content.list.querySelector("."+this.classes.getFirst("option"))}canUpdateOptionSelectionInPlace(){return""===this.content.search.input.value.trim()&&this.hasRenderedOptions()}updateOptionSelection(){let t=new Set(this.store.getSelected()),e=this.content.list.querySelectorAll("."+this.classes.getFirst("option")),i=null;for(let s of e){let e=s.dataset.id;if(!e)continue;let n=this.store.getOptionByID(e);if(!n)continue;let r=t.has(e);r?(this.addClasses(s,this.classes.selected),s.setAttribute("aria-selected","true"),i=s):(this.removeClasses(s,this.classes.selected),s.setAttribute("aria-selected","false")),this.settings.hideSelected&&(r?this.addClasses(s,this.classes.hide):(this.removeClasses(s,this.classes.hide),n.display||this.addClasses(s,this.classes.hide)))}!this.settings.isMultiple&&i?this.main.main.setAttribute("aria-activedescendant",i.id):!this.settings.isMultiple&&0===t.size&&this.main.main.removeAttribute("aria-activedescendant"),this.updateOptgroupSelectAllStates()}updateOptgroupSelectAllStates(){if(!this.settings.isMultiple)return;let t=new Set(this.store.getSelected()),e=this.content.list.querySelectorAll("."+this.classes.getFirst("optgroup"));for(let i of e){let e=i.querySelector("."+this.classes.getFirst("optgroupSelectAll"));if(!e)continue;let s=i.querySelectorAll("."+this.classes.getFirst("option")),n=s.length>0;for(let e of s){let i=e.dataset.id;if(!i||!t.has(i)){n=!1;break}}n?this.addClasses(e,this.classes.selected):this.removeClasses(e,this.classes.selected);let r=e.querySelector("span");r&&(r.textContent=this.optgroupSelectAllLabel(n))}}optgroupSelectAllLabel(t){return t?"Unselect All":"Select All"}isOptgroupAllSelected(t,e){if(0===t.length)return!1;for(let i of t)if(!(e?i.id&&e.has(i.id):i.selected))return!1;return!0}option(t){if(t.placeholder){let t=document.createElement("div");return this.addClasses(t,this.classes.option),this.addClasses(t,this.classes.hide),t}let e=document.createElement("div");return e.dataset.id=t.id,e.id=this.settings.id+"-"+t.id,this.addClasses(e,this.classes.option),e.setAttribute("role","option"),t.class&&t.class.split(" ").forEach((t=>{e.classList.add(t)})),t.style&&(e.style.cssText=t.style),this.setOptionElementContent(e,t,this.content.search.input.value),t.display||this.addClasses(e,this.classes.hide),t.disabled&&this.addClasses(e,this.classes.disabled),t.selected&&this.settings.hideSelected&&this.addClasses(e,this.classes.hide),t.selected?(this.addClasses(e,this.classes.selected),e.setAttribute("aria-selected","true"),this.main.main.setAttribute("aria-activedescendant",e.id)):(this.removeClasses(e,this.classes.selected),e.setAttribute("aria-selected","false")),e.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation();let i=this.store.getSelected(),s=e.currentTarget,n=String(s.dataset.id),r=this.store.getOptionByID(n)??t,o=i.includes(n),a=e.ctrlKey||e.metaKey;if(t.disabled)return;if(!this.settings.isMultiple&&o&&!this.settings.allowDeselect)return void this.closeOnSingleSelectReclick(r);if(o&&r.mandatory)return void this.closeOnSingleSelectReclick(r);if(this.settings.isMultiple&&this.settings.maxSelected<=i.length&&!o||this.settings.isMultiple&&this.settings.minSelected>=i.length&&o&&!a)return;let l=!1,h=this.store.getSelectedOptions(),c=[];if(this.settings.isMultiple){let i=h.some((t=>
45t.id===n));if(e.shiftKey&&this.lastSelectedOption){let e=this.lastRenderedOptions,i=e.findIndex((t=>t.id===this.lastSelectedOption.id)),s=e.findIndex((e=>e.id===t.id));if(i>=0&&s>=0){let t=Math.min(i,s),n=Math.max(i,s),r=e.slice(t,n+1).filter((t=>!h.find((e=>e.id===t.id))));c=h.length+r.length<=this.settings.maxSelected?h.concat(r):h}else c=h}else c=i?h.filter((t=>t.id!==n)):h.concat(r),this.lastSelectedOption=r}if(this.settings.isMultiple||(c=o?[]:[r]),this.callbacks.beforeChange||(l=!0),this.callbacks.beforeChange&&(l=!1!==this.callbacks.beforeChange(c,h)),l){this.store.getOptionByID(n)||this.callbacks.addOption(t),this.callbacks.setSelected(c.map((t=>t.id)),!1);let i=e.ctrlKey||e.metaKey||e.shiftKey;this.settings.closeOnSelect&&!(this.settings.isMultiple&&i)&&this.requestClose("select",{option:r,selectionChanged:this.selectionChanged(h,c)}),this.callbacks.afterChange&&this.callbacks.afterChange(c)}})),e}destroy(){this.stopPositionTracking(),this.modalElements?(this.unlockBodyScroll(),this.content.main.parentElement===this.modalElements.dialog&&this.restoreContentOffscreen(),this.modalElements.overlay.remove(),this.modalElements=null):this.bodyScrollLocked&&this.unlockBodyScroll(),this.main.main.remove(),this.content.main.remove(),this.removeDetachedInstanceDom()}removeDetachedInstanceDom(){let t=this.settings.id,e=this.classes.getFirst("main"),i=this.classes.getFirst("content"),s=this.classes.getFirst("modalOverlay");document.querySelectorAll(`[data-id="${t}"]`).forEach((t=>{(t.classList.contains(e)||t.classList.contains(i)||t.classList.contains(s))&&t.remove()}))}highlightText(t,e,i){let s=e.trim();if(""===s)return t;let n=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=document.createElement("div");r.innerHTML=t;let o=t=>{if(t.nodeType===Node.TEXT_NODE){let e=t.textContent||"",s=RegExp("("+n+")","i");if(s.test(e)){let n=document.createElement("span");e.split(s).forEach(((t,e)=>{if(t&&s.test(t)){let e=document.createElement("mark");e.className=i,e.textContent=t,n.appendChild(e)}else t&&n.appendChild(document.createTextNode(t))})),t.parentNode?.replaceChild(n,t)}}else t.nodeType===Node.ELEMENT_NODE&&Array.from(t.childNodes).forEach((t=>o(t)))};return Array.from(r.childNodes).forEach((t=>o(t))),r.innerHTML}setContentDirection(t){let e="above"===t,i=e?this.classes.dirAbove:this.classes.dirBelow,s=e?this.classes.dirBelow:this.classes.dirAbove;if(this.removeClasses(this.main.main,s),this.addClasses(this.main.main,i),this.removeClasses(this.content.main,s),this.addClasses(this.content.main,i),e){let t=this.main.main.offsetHeight,e=this.content.main.offsetHeight;this.content.main.style.margin="-"+(t+e-1)+"px 0px 0px 0px"}else this.content.main.style.margin="-1px 0px 0px 0px"}setContentPosition(){let t,e,i=this.main.main.getBoundingClientRect();if("relative"===this.settings.contentPosition)return void this.applyContentWidth(i);this.cancelOverflowShift(),"fixed"===this.settings.contentPosition?(t=i.top+i.height,e=i.left):(t=i.top+window.scrollY+i.height,e=i.left+window.scrollX),this.content.main.style.top=t+"px",this.content.main.style.left=e+"px",this.applyContentWidth(i);let s=this.getKnownContentWidth(i);null===s?this.overflowShiftRaf=requestAnimationFrame((()=>{this.overflowShiftRaf=0,this.applyOverflowShiftFromMeasure()})):this.content.main.style.left=this.adjustLeftForOverflow(e,i.left,s)+"px"}applyContentWidth(t){let e=this.settings.contentWidth;this.content.main.style.width="",this.content.main.style.minWidth="",this.content.main.style.maxWidth="",e?e.startsWith(">")?this.content.main.style.minWidth=e.slice(1):e.startsWith("<")?this.content.main.style.maxWidth=e.slice(1):this.content.main.style.width=e:"relative"!==this.settings.contentPosition&&(this.content.main.style.width=t.width+"px")}cancelOverflowShift(){this.overflowShiftRaf&&=(cancelAnimationFrame(this.overflowShiftRaf),0)}getKnownContentWidth(t){let e=this.settings.contentWidth;if(!e)return t.width;if(e.startsWith(">")||e.startsWith("<")||e.includes("%"))return null;let i=parseFloat(e);return Number.isNaN(i)?null:i}adjustLeftForOverflow(t,e,i){let s=e+i;if(s<=window.innerWidth)return t;let n=t-(s-(window.innerWidth-20));return"fixed"===this.settings.contentPosition?Math.max(0,n):Math.max(window.scrollX,n)}applyOverflowShiftFromMeasure(){let t=this.content.main.getBoundingClientRect().right;if(t<=window.innerWidth)return;let e=t-(window.innerWidth-20),i=(parseFloat(this.content.main.style.left)||0)-e;"fixed"===this.settings.contentPosition?this.content.main.style.left=Math.max(0,i)+"px":this.content.main.style.left=Math.max(window.scrollX,i)+"px"}moveContentAbove(){this.setContentDirection("above"),this.setContentPosition()}moveContentBelow(){this.setContentDirection("below"),this.setContentPosition()}ensureElementInView(t,e){let i=t.scrollTop+t.offsetTop,s=i+t.clientHeight,n=e.offsetTop,r=n+e.clientHeight;n<i?t.scrollTop-=i-n:r>s&&(t.scrollTop+=r-s)}putContent(){let t=this.main.main.offsetHeight,e=this.main.main.getBoundingClientRect(),i=this.content.main.offsetHeight;return window.innerHeight-(e.top+t)<=i&&e.top>i?"up":"down"}updateDeselectAll(){if(!this.store||!this.settings)return;let t=this.store.getSelectedOptions(),e=t&&t.length>0,i=this.settings.isMultiple,s=this.settings.allowDeselect,n=this.isAtMinSelected(),r=this.main.deselect.main,o=this.classes.hide;!s||i&&!e||n?this.addClasses(r,o):this.removeClasses(r,o)}};function Io(t,e){return function(t,e){if(t===e)return!0;
45if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let s=t[i],n=e[i],r=Mo(s);if(r!==Mo(n))return!1;if(r){if(!Lo(s,n))return!1}else if(!Oo(s,n))return!1}return!0}(t.getData(!1),e)}var Bo=class{selectEl;settings;cssClasses;select;store;render;sync;lifecycle;globalEvents;searchGeneration=0;events={search:void 0,searchFilter:(t,e)=>-1!==t.text.toLowerCase().indexOf(e.toLowerCase()),addable:void 0,beforeChange:void 0,afterChange:void 0,beforeOpen:void 0,afterOpen:void 0,beforeClose:void 0,afterClose:void 0};constructor(t){if(this.selectEl="string"==typeof t.select?document.querySelector(t.select):t.select,!this.selectEl)return void(t.events&&t.events.error&&t.events.error(Error("Could not find select element")));if("SELECT"!==this.selectEl.tagName)return void(t.events&&t.events.error&&t.events.error(Error("Element isnt of type select")));this.selectEl.dataset.ssid&&this.destroy(),this.settings=new class{id="";style="";class=[];isMultiple=!1;isOpen=!1;isFullOpen=!1;disabled;alwaysOpen;showSearch;focusSearch;keepSearch;ariaLabel;searchPlaceholder;searchText;searchingText;resultsText;deselectText;removeText;searchHighlight;closeOnSelect;contentLocation;contentPosition;contentWidth;openPosition;placeholderText;allowDeselect;hideSelected;multiString;keepOrder;showOptionTooltips;minSelected;maxSelected;timeoutDelay;maxValuesShown;maxValuesMessage;addableText;modal;modalTitle;constructor(t){t||={},this.id="ss-"+So(),this.style=t.style||"",this.class=t.class||[],this.disabled=void 0!==t.disabled&&t.disabled,this.alwaysOpen=void 0!==t.alwaysOpen&&t.alwaysOpen,this.showSearch=void 0===t.showSearch||t.showSearch,this.focusSearch=void 0===t.focusSearch||t.focusSearch,this.keepSearch=void 0!==t.keepSearch&&t.keepSearch,this.ariaLabel=t.ariaLabel||"Combobox",this.searchPlaceholder=t.searchPlaceholder||"Search...",this.searchText=t.searchText||"No Results",this.searchingText=t.searchingText||"Searching...",this.resultsText=t.resultsText||"{count} results available",this.deselectText=t.deselectText||"Clear",this.removeText=t.removeText||"Remove",this.searchHighlight=void 0!==t.searchHighlight&&t.searchHighlight,this.closeOnSelect=void 0===t.closeOnSelect||t.closeOnSelect,this.contentLocation=t.contentLocation||document.body,this.contentPosition=t.contentPosition||"absolute",this.contentWidth=t.contentWidth||"",this.openPosition=t.openPosition||"auto",this.placeholderText=void 0===t.placeholderText?"Select Value":t.placeholderText,this.allowDeselect=void 0!==t.allowDeselect&&t.allowDeselect,this.hideSelected=void 0!==t.hideSelected&&t.hideSelected,this.multiString=void 0!==t.multiString&&t.multiString,this.keepOrder=void 0!==t.keepOrder&&t.keepOrder,this.showOptionTooltips=void 0!==t.showOptionTooltips&&t.showOptionTooltips,this.minSelected=t.minSelected||0,this.maxSelected=t.maxSelected||1e3,this.timeoutDelay=t.timeoutDelay||200,this.maxValuesShown=t.maxValuesShown||20,this.maxValuesMessage=t.maxValuesMessage||"{number} selected",this.addableText=t.addableText||'Press "Enter" to add {value}',this.modal=t.modal||"mobile",this.modalTitle=t.modalTitle||""}}(t.settings),this.cssClasses=new class{main;placeholder;values;single;multiString;max;value;valueText;valueDelete;valueOut;deselect;deselectPath;arrow;arrowClose;arrowOpen;content;contentOpen;dirAbove;dirBelow;search;searchHighlighter;searching;status;addable;addablePath;list;optgroup;optgroupLabel;optgroupLabelText;optgroupActions;optgroupSelectAll;optgroupSelectAllBox;optgroupSelectAllCheck;optgroupClosable;option;optionDelete;highlighted;modalOverlay;modalDialog;modalTitle;modalClose;modalContent;mainOpen;close;selected;error;disabled;hide;constructor(t){t||={};let e=(t="",e="")=>`${t} ${e}`.trim();this.main=e("ss-main",t.main),this.placeholder=e("ss-placeholder",t.placeholder),this.values=e("ss-values",t.values),this.single=e("ss-single",t.single),this.multiString=e("ss-multi-string",t.multiString),this.max=e("ss-max",t.max),this.value=e("ss-value",t.value),this.valueText=e("ss-value-text",t.valueText),this.valueDelete=e("ss-value-delete",t.valueDelete),this.valueOut=e("ss-value-out",t.valueOut),this.deselect=e("ss-deselect",t.deselect),this.deselectPath=t.deselectPath||"M10,10 L90,90 M10,90 L90,10",this.arrow=e("ss-arrow",t.arrow),this.arrowClose=t.arrowClose||"M10,30 L50,70 L90,30",this.arrowOpen=t.arrowOpen||"M10,70 L50,30 L90,70",this.content=e("ss-content",t.content),this.contentOpen=e("ss-open",t.contentOpen),this.dirAbove=e("ss-dir-above",t.dirAbove),this.dirBelow=e("ss-dir-below",t.dirBelow),this.search=e("ss-search",t.search),this.searchHighlighter=e("ss-search-highlight",t.searchHighlighter),this.searching=e("ss-searching",t.searching),this.status=e("ss-status",t.status),this.addable=e("ss-addable",t.addable),this.addablePath=t.addablePath||"M50,10 
45L50,90 M10,50 L90,50",this.list=e("ss-list",t.list),this.optgroup=e("ss-optgroup",t.optgroup),this.optgroupLabel=e("ss-optgroup-label",t.optgroupLabel),this.optgroupLabelText=e("ss-optgroup-label-text",t.optgroupLabelText),this.optgroupActions=e("ss-optgroup-actions",t.optgroupActions),this.optgroupSelectAll=e("ss-selectall",t.optgroupSelectAll),this.optgroupSelectAllBox=t.optgroupSelectAllBox||"M60,10 L10,10 L10,90 L90,90 L90,50",this.optgroupSelectAllCheck=t.optgroupSelectAllCheck||"M30,45 L50,70 L90,10",this.optgroupClosable=e("ss-closable",t.optgroupClosable),this.option=e("ss-option",t.option),this.optionDelete=t.optionDelete||"M10,10 L90,90 M10,90 L90,10",this.highlighted=e("ss-highlighted",t.highlighted),this.modalOverlay=e("ss-modal-overlay",t.modalOverlay),this.modalDialog=e("ss-modal-dialog",t.modalDialog),this.modalTitle=e("ss-modal-title",t.modalTitle),this.modalClose=e("ss-modal-close",t.modalClose),this.modalContent=e("ss-modal-content",t.modalContent),this.mainOpen=e("ss-open",t.mainOpen),this.close=e("ss-close",t.close),this.selected=e("ss-selected",t.selected),this.error=e("ss-error",t.error),this.disabled=e("ss-disabled",t.disabled),this.hide=e("ss-hide",t.hide)}getFirst(t){return this[t].split(" ")[0]}}(t.cssClasses);let e=["beforeOpen","afterOpen","afterClose"];for(let i in t.events)t.events.hasOwnProperty(i)&&(-1===e.indexOf(i)?this.events[i]=t.events[i]:this.events[i]=Co(t.events[i],100));this.settings.disabled=t.settings?.disabled?t.settings.disabled:this.selectEl.disabled,this.settings.isMultiple=this.selectEl.multiple,this.settings.style=this.selectEl.style.cssText,this.settings.class=this.selectEl.className.split(" "),this.select=new class{select;onValueChange;onClassChange;onDisabledChange;onOptionsChange;onLabelClick;listen=!1;observer=null;isUpdating=!1;pendingOptionsChange=null;preventNativeSelect=null;preventNativeSelectMousedown=null;preventNativeSelectFocus=null;restoreAriaHiddenOnBlur=null;constructor(t){this.select=t,this.valueChange=this.valueChange.bind(this),this.select.addEventListener("change",this.valueChange,{passive:!0}),this.observer=new MutationObserver(this.observeCall.bind(this)),this.changeListen(!0)}enable(){this.select.disabled=!1}disable(){this.select.disabled=!0}hideUI(){this.select.tabIndex=-1,this.select.style.position="absolute",this.select.style.width="1px",this.select.style.height="1px",this.select.style.opacity="0",this.select.style.overflow="hidden",this.select.style.pointerEvents="none",this.select.style.margin="0",this.select.style.padding="0",this.select.style.borderWidth="0",this.select.style.clipPath="inset(50%)",document.activeElement!==this.select&&this.select.setAttribute("aria-hidden","true"),this.preventNativeSelect||(this.preventNativeSelect=t=>{t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()},this.preventNativeSelectMousedown=t=>{t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()},this.preventNativeSelectFocus=t=>{this.select.removeAttribute("aria-hidden"),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()},this.restoreAriaHiddenOnBlur=()=>{this.select.setAttribute("aria-hidden","true")},this.select.addEventListener("click",this.preventNativeSelect,{capture:!0,passive:!1}),this.select.addEventListener("mousedown",this.preventNativeSelectMousedown,{capture:!0,passive:!1}),this.select.addEventListener("focus",this.preventNativeSelectFocus,{capture:!0,passive:!1}),this.select.addEventListener("blur",this.restoreAriaHiddenOnBlur,{capture:!0,passive:!0}))}showUI(){this.select.removeAttribute("tabindex"),this.select.style.position="",this.select.style.width="",this.select.style.height="",this.select.style.opacity="",this.select.style.overflow="",this.select.style.pointerEvents="",this.select.style.margin="",this.select.style.padding="",this.select.style.borderWidth="",this.select.style.clipPath="",this.select.removeAttribute("aria-hidden"),this.preventNativeSelect&&=(this.select.removeEventListener("click",this.preventNativeSelect,{capture:!0}),null),this.preventNativeSelectMousedown&&=(this.select.removeEventListener("mousedown",this.preventNativeSelectMousedown,{capture:!0}),null),this.preventNativeSelectFocus&&=(this.select.removeEventListener("focus",this.preventNativeSelectFocus,{capture:!0}),null),this.restoreAriaHiddenOnBlur&&=(this.select.removeEventListener("blur",this.restoreAriaHiddenOnBlur,{capture:!0}),null)}changeListen(t){this.listen=t,t&&this.observer&&this.observer.observe(this.select,{subtree:!0,childList:!0,attributes:!0}),t||this.observer&&this.observer.disconnect()}valueChange(t){return this.listen&&this.onValueChange&&this.onValueChange(this.getSelectedOptions()),!0}observeCall(t){if(!this.listen)return;let{classChanged:e,disabledChanged:i,optgroupOptionChanged:s,selectionChanged:n}=function(t,e){let i={classChanged:!1,disabledChanged:!1,optgroupOptionChanged:!1,selectionChanged:!1};for(let s of t){if(s.target===e&&("disabled"===s.attributeName&&(i.disabledChanged=!0),"class"===s.attributeName&&(i.classChanged=!0),"childList"===s.type)){for(let t of Array.from(s.addedNodes))if("OPTION"===t.nodeName&&t.value===e.value){i.selectionChanged=!0;break}i.optgroupOptionChanged=!0}("OPTGROUP"===s.target.nodeName||"OPTION"===s.target.nodeName)&&(i.optgroupOptionChanged=!0)}return i}(t,this.select),r=n;if(e&&this.onClassChange&&this.onClassChange(this.select.className.split(" ")),i&&this.onDisabledChange&&(this.changeListen(!1),this.onDisabledChange(this.select.disabled),this.changeListen(!0)),s&&this.onOptionsChange){if(this.isUpdating){if(this.select.options.length>0){let t=this.getData();t.length>0&&(this.pendingOptionsChange=t)}return void(r&&this.select.dispatchEvent(new Event("change")))}this.changeListen(!1),this.onOptionsChange(this.getData()),this.changeListen(!0),r=!1}r&&this.select.dispatchEvent(new Event("change"))}getData(){let t=[],e=this.select.childNodes;for(let i of e)"OPTGROUP"===i.nodeName&&t.push(this.getDataFromOptgroup(i)),"OPTION"===i.nodeName&&t.push(this.getDataFromOption(i));return t}
45getDataFromOptgroup(t){let e={id:t.id,label:t.label,selectAll:!!t.dataset&&"true"===t.dataset.selectall,closable:t.dataset?t.dataset.closable:"off",options:[]},i=t.childNodes;for(let t of i)"OPTION"===t.nodeName&&e.options.push(this.getDataFromOption(t));return e}getDataFromOption(t){return{id:t.id,value:t.value,text:t.text,html:t.dataset&&t.dataset.html?t.dataset.html:"",defaultSelected:t.defaultSelected,selected:t.selected,display:"none"!==t.style.display,disabled:t.disabled,mandatory:!!t.dataset&&"true"===t.dataset.mandatory,placeholder:"true"===t.dataset.placeholder,class:t.className,style:t.style.cssText,data:xo(t.dataset)}}getSelectedOptions(){let t=[],e=this.select.childNodes;for(let i of e){if("OPTGROUP"===i.nodeName){let e=i.childNodes;for(let i of e)if("OPTION"===i.nodeName){let e=i;e.selected&&t.push(this.getDataFromOption(e))}}if("OPTION"===i.nodeName){let e=i;e.selected&&t.push(this.getDataFromOption(e))}}return t}getSelectedValues(){return this.getSelectedOptions().map((t=>t.value))}hasOptionValues(t){if(0===t.length)return!0;let e=new Set(Array.from(this.select.options).map((t=>t.value)));return t.every((t=>e.has(t)))}setSelected(t){this.changeListen(!1);let e=this.select.childNodes;for(let i of e){if("OPTGROUP"===i.nodeName){let e=i.childNodes;for(let i of e)if("OPTION"===i.nodeName){let e=i;e.selected=t.includes(e.id)}}if("OPTION"===i.nodeName){let e=i;e.selected=t.includes(e.id)}}let i=this.getSelectedOptions();this.select.multiple||(this.select.value=1===i.length?i[0].value:""),this.select.dispatchEvent(new Event("change",{bubbles:!0})),this.changeListen(!0)}setSelectedByValue(t){this.changeListen(!1);let e=this.select.childNodes;for(let i of e){if("OPTGROUP"===i.nodeName){let e=i.childNodes;for(let i of e)if("OPTION"===i.nodeName){let e=i;e.selected=t.includes(e.value)}}if("OPTION"===i.nodeName){let e=i;e.selected=t.includes(e.value)}}let i=this.getSelectedOptions();this.select.multiple||(this.select.value=1===i.length?i[0].value:""),this.select.dispatchEvent(new Event("change",{bubbles:!0})),this.changeListen(!0)}updateSelect(t,e,i){this.changeListen(!1),t&&(this.select.dataset.id=t),e&&(this.select.style.cssText=e),i&&(this.select.className="",i.forEach((t=>{""!==t.trim()&&this.select.classList.add(t.trim())}))),this.changeListen(!0)}updateOptions(t){if(!t||0===t.length)return;this.isUpdating=!0,this.pendingOptionsChange=null,this.changeListen(!1);let e=this.getSelectedValues();this.select.innerHTML="";for(let e of t)e instanceof Po&&this.select.appendChild(this.createOptgroup(e)),e instanceof _o&&this.select.appendChild(this.createOption(e));if(Ao(e,this.getSelectedValues())||this.select.dispatchEvent(new Event("change",{bubbles:!0})),this.changeListen(!0),this.isUpdating=!1,null!==this.pendingOptionsChange){let t=this.pendingOptionsChange;t.length>0&&this.onOptionsChange?(this.pendingOptionsChange=null,this.changeListen(!1),this.onOptionsChange(t),this.changeListen(!0)):this.pendingOptionsChange=null}}createOptgroup(t){let e=document.createElement("optgroup");if(e.id=t.id,e.label=t.label,t.selectAll&&(e.dataset.selectAll="true"),"off"!==t.closable&&(e.dataset.closable=t.closable),t.options)for(let i of t.options)e.appendChild(this.createOption(i));return e}createOption(t){let e=document.createElement("option");return e.id=t.id,e.value=t.value,e.textContent=t.text,""!==t.html&&e.setAttribute("data-html",t.html),e.defaultSelected=t.defaultSelected,e.selected=t.selected,t.disabled&&(e.disabled=!0),t.display||(e.style.display="none"),t.placeholder&&e.setAttribute("data-placeholder","true"),t.mandatory&&e.setAttribute("data-mandatory","true"),t.class&&t.class.split(" ").forEach((t=>{e.classList.add(t)})),t.data&&"object"==typeof t.data&&Object.keys(t.data).forEach((i=>{e.setAttribute("data-"+function(t){let e=t.replace(/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,(t=>"-"+t.toLowerCase()));return t[0]===t[0].toUpperCase()?e.substring(1):e}(i),t.data[i])})),e}setupLabelHandlers(){let t=[],e=this.select.id;e&&document.querySelectorAll(`label[for="${e}"]`).forEach((e=>t.push(e)));let i=this.select.parentElement;for(;i&&i!==document.body;){if("LABEL"===i.tagName){t.push(i);break}i=i.parentElement}
45Array.from(new Set(t)).forEach((t=>{if(t.__slimSelectLabelHandler)return;let e=t=>{let e=Eo(t.target,this.select.dataset.id);t.preventDefault(),!e&&this.onLabelClick&&this.onLabelClick()};t.__slimSelectLabelHandler=e,t.addEventListener("click",e,{capture:!0,passive:!1})}))}removeLabelHandlers(){let t=[],e=this.select.id;e&&document.querySelectorAll(`label[for="${e}"]`).forEach((e=>t.push(e)));let i=this.select.parentElement;for(;i&&i!==document.body;){if("LABEL"===i.tagName){t.push(i);break}i=i.parentElement}Array.from(new Set(t)).forEach((t=>{let e=t.__slimSelectLabelHandler;e&&(t.removeEventListener("click",e,{capture:!0}),delete t.__slimSelectLabelHandler)}))}destroy(){this.changeListen(!1),this.select.removeEventListener("change",this.valueChange),this.preventNativeSelect&&=(this.select.removeEventListener("click",this.preventNativeSelect,{capture:!0}),null),this.preventNativeSelectMousedown&&=(this.select.removeEventListener("mousedown",this.preventNativeSelectMousedown,{capture:!0}),null),this.preventNativeSelectFocus&&=(this.select.removeEventListener("focus",this.preventNativeSelectFocus,{capture:!0}),null),this.restoreAriaHiddenOnBlur&&=(this.select.removeEventListener("blur",this.restoreAriaHiddenOnBlur,{capture:!0}),null),this.observer&&=(this.observer.disconnect(),null),this.removeLabelHandlers(),delete this.select.dataset.id,this.showUI()}}(this.selectEl),this.selectEl.id||(this.selectEl.id=this.settings.id),this.select.updateSelect(this.settings.id,this.settings.style,this.settings.class),this.select.hideUI(),this.select.onClassChange=t=>{this.settings.class=t,this.render.updateClassStyles()},this.select.onDisabledChange=t=>{t?this.disable():this.enable()},this.select.onLabelClick=()=>{this.settings.disabled||(this.settings.isOpen?this.close({source:"toggle",selectionChanged:!1}):this.open())};let i=t.data?t.data:this.select.getData();this.store=new class{selectType="single";data=[];selectedOrder=[];catalog=null;constructor(t,e){this.selectType=t,this.setData(e),this.snapshotCatalog()}validateDataArray(t){if(!Array.isArray(t))return Error("Data must be an array");for(let e of t)if(e)if(e instanceof Po||"label"in e){if(!("label"in e))return Error("Optgroup must have a label");if("options"in e&&e.options)for(let t of e.options){let e=this.validateOption(t);if(e)return e}}else{if(!(e instanceof _o||"text"in e))return Error("Data object must be a valid optgroup or option");{let t=this.validateOption(e);if(t)return t}}return null}validateOption(t){return"text"in t?null:Error("Option must have a text")}partialToFullData(t){let e=[];return t.forEach((t=>{if(t){if(t instanceof Po||"label"in t){let i=[];"options"in t&&t.options&&t.options.forEach((t=>{i.push(new _o(t))})),i.length>0&&e.push(new Po(t))}(t instanceof _o||"text"in t)&&e.push(new _o(t))}})),e}snapshotCatalog(){this.catalog=this.cloneData(this.data)}getCatalogData(){return this.cloneData(this.catalog??this.data)}cloneData(t){return t.map((t=>t instanceof Po?new Po({id:t.id,label:t.label,selectAll:t.selectAll,closable:t.closable,options:t.options.map((t=>new _o(t instanceof _o?{...t}:t)))}):new _o({...t})))}optionMatchesSelected(t,e){return t.id===e.id||""!==e.value&&""!==t.value&&t.value===e.value}findOptionInData(t,e){for(let i of t)if(i instanceof _o){if(this.optionMatchesSelected(i,e))return i}else for(let t of i.options)if(this.optionMatchesSelected(t,e))return t;return null}setData(t,e=!1){let i=this.partialToFullData(t),s=[];if(e){s=this.getSelectedOptions();let t=[];s.forEach((e=>{this.findOptionInData(i,e)||t.push(e)})),this.data=[...t,...i];let e="single"===this.selectType&&0===s.length,n=s.map((t=>{let e=this.findOptionInData(this.data,t);return e?e.id:t.id}));this.setSelectedBy("id",n,e)}else this.data=i;!e&&"single"===this.selectType&&this.setSelectedBy("id",this.getSelected(),!1)}getData(t=!0){return this.filter(null,!0,t)}getDataOptions(t=!0){return this.filter(null,!1,t)}addOption(t,e=!1){if(e){let e=[new _o(t)];this.setData(e.concat(this.getData()))}else this.setData(this.getData().concat(new _o(t)))}setSelectedBy(t,e,i=!1){let s=null,n=!1,r=[];for(let i of this.data){if(i instanceof Po)for(let o of i.options){s||=o;let i=o[t]||"";o.selected=!n&&e.includes(i),o.selected&&(r.push(o),"single"===this.selectType&&(n=!0))}i instanceof _o&&(s||=i,i.selected=!n&&e.includes(i[t]),i.selected&&(r.push(i),"single"===this.selectType&&(n=!0)))}"single"===this.selectType&&s&&!n&&!i&&(s.selected=!0,r.push(s));let o=e.map((e=>r.find((i=>i[t]===e))?.id||""));this.selectedOrder=o}
45getSelected(){return this.getSelectedOptions().map((t=>t.id))}getSelectedValues(){return this.getSelectedOptions().map((t=>t.value))}getSelectedOptions(){let t=[];for(let e of this.data)if(e instanceof Po)for(let i of e.options)i.selected&&t.push(i);else e.selected&&t.push(e);return t}getOptgroupByID(t){for(let e of this.data)if(e instanceof Po&&e.id===t)return e;return null}getOptionByID(t){for(let e of this.data)if(e instanceof Po){for(let i of e.options)if(i.id===t)return i}else if(e.id===t)return e;return null}getSelectType(){return this.selectType}getFirstOption(){let t=null;for(let e of this.data)if(e instanceof Po?t=e.options[0]:e instanceof _o&&(t=e),t)break;return t}search(t,e){return""===(t=t.trim())?this.getData(!1):this.filter((i=>e(i,t)),!0,!1)}createOptgroupView(t,e){let i=new Po({id:t.id,label:t.label,selectAll:t.selectAll,closable:t.closable,options:[]});return i.options=e,i}filter(t,e,i=!0){let s=[];return this.data.forEach((n=>{if(n instanceof Po){let r=[];if(n.options.forEach((n=>{(!t||t(n))&&(e?r.push(i?new _o(n):n):s.push(i?new _o(n):n))})),r.length>0)if(i){let t=new Po(n);t.options=r,s.push(t)}else s.push(this.createOptgroupView(n,r))}n instanceof _o&&(!t||t(n))&&s.push(i?new _o(n):n)})),s}selectedOrderOptions(t){let e=[];return this.selectedOrder.forEach((i=>{let s=t.find((t=>t.id===i));s&&e.push(s)})),t.forEach((t=>{let i=!1;e.forEach((e=>{t.id!==e.id||(i=!0)})),i||e.push(t)})),e}}(this.settings.isMultiple?"multiple":"single",i),t.data&&this.select.updateOptions(this.store.getData());let s={open:this.open.bind(this),close:this.close.bind(this),addable:this.events.addable?this.events.addable:void 0,setSelected:(t,e)=>{this.sync.enqueue({type:"selection",values:t,source:"ui",runAfterChange:e})},addOption:t=>{this.sync.enqueue({type:"addOption",option:t,source:"ui"})},search:this.search.bind(this),beforeChange:this.events.beforeChange,afterChange:this.events.afterChange};this.settings.modalTitle=t.settings?.modalTitle??function(t){if(t.labels&&t.labels.length>0){let e=Array.from(t.labels).map(wo).filter(Boolean);if(e.length>0)return[...new Set(e)].join(" ")}return t.getAttribute("aria-label")?.trim()||""}(this.selectEl),this.render=new Do(this.settings,this.cssClasses,this.store,s),this.settings.timeoutDelay=mo(this.render.content.main,t.settings?.timeoutDelay),this.sync=new class{deps;queue=[];flushScheduled=!1;isSyncing=!1;constructor(t){this.deps=t}enqueue(t){this.queue.push(t),"native"!==t.source?this.isSyncing||this.flush():this.flushScheduled||(this.flushScheduled=!0,queueMicrotask((()=>this.flush())))}flush(){if(this.flushScheduled=!1,0===this.queue.length)return;let t=this.coalesceBatch(this.queue);this.queue=[],this.isSyncing=!0;try{for(let e of t)this.applyChange(e)}finally{this.isSyncing=!1,this.queue.length>0&&this.flush()}}coalesceBatch(t){let e=t.some((t=>"structure"===t.type)),i=t.some((t=>"addOption"===t.type));if(e||i){let e=t.filter((t=>"structure"===t.type||"addOption"===t.type)),i=e[e.length-1];return"structure"===i?.type?[i]:e}let s=t.filter((t=>"selection"===t.type));return s.length>0?[s[s.length-1]]:t}applyChange(t){switch(t.type){case"structure":this.applyStructure(t.data,t.source,t.preserveSelection,t.isSearchResult);break;case"selection":this.applySelection(t.values,t.source,!1!==t.runAfterChange);break;case"addOption":this.applyAddOption(t.option)}}applyStructure(t,e,i=!1,s=!1){let{store:n,select:r,render:o,events:a}=this.deps;if(!s&&Io(n,t))return;let l=n.getSelected(),h=n.validateDataArray(t);if(h)return void(a.error?a.error(h):this.deps.onError&&this.deps.onError(h));n.setData(t,i);let c=n.getData(!1);s||n.snapshotCatalog(),s||r.updateOptions(c),o.renderValues(),o.renderOptions(c),a.afterChange&&!Ao(l,n.getSelected())&&a.afterChange(n.getSelectedOptions())}syncNativeSelection(){let{store:t,select:e}=this.deps,i=t.getSelectedOptions(),s=t.getSelectedValues();if(!e.hasOptionValues(s)){if(i.length>0)return void e.updateOptions(i);let s=t.getCatalogData().find((t=>t instanceof _o&&!0===t.placeholder));if(s)return void e.updateOptions([new _o({...s,selected:!0})])}e.setSelectedByValue(s)}
45applySelection(t,e,i){let{store:s,select:n,render:r,events:o}=this.deps,a=s.getSelected(),l=function(t,e){let i=Array.isArray(e)?e:[e],s=t.getDataOptions(!1),n=[];for(let t of i)if(s.find((e=>e.id==t)))n.push(t);else for(let e of s.filter((e=>e.value==t)))n.push(e.id);return n}(s,t);if(Ao(a,l))return;s.setSelectedBy("id",l),this.syncNativeSelection(),r.renderValues();let h=r.content.search.input.value.trim();""===h?r.canUpdateOptionSelectionInPlace()?r.updateOptionSelection():r.renderOptions(s.getData(!1)):r.hasRenderedOptions()?r.updateOptionSelection():this.deps.search&&this.deps.search(h),i&&o.afterChange&&!Ao(a,s.getSelected())&&o.afterChange(s.getSelectedOptions())}applyAddOption(t){let{store:e,select:i,render:s,events:n}=this.deps,r=e.getSelected(),o=""!==s.content.search.input.value.trim()&&!!this.deps.search,a=t.value??t.text??"",l=t=>{for(let e of t)if(e instanceof Po){if(e.options.some((t=>(t.value??t.text)===a)))return!0}else if((e.value??e.text)===a)return!0;return!1};if(!l(e.getData(!1)))if(o){let i=e.getCatalogData();l(i)||e.setData([...i,new _o(t)],!0),e.snapshotCatalog()}else e.addOption(t),e.snapshotCatalog();let h=e.getData(!1);if(o){let t=e.getSelectedOptions();t.length>0&&i.updateOptions(t)}else i.updateOptions(h);s.renderValues(),s.renderOptions(h),n.afterChange&&!Ao(r,e.getSelected())&&n.afterChange(e.getSelectedOptions())}}({select:this.select,store:this.store,render:this.render,events:this.events,search:this.search.bind(this)}),this.select.onValueChange=t=>{this.sync.enqueue({type:"selection",values:t.map((t=>t.id)),source:"native"})},this.select.onOptionsChange=t=>{this.sync.enqueue({type:"structure",data:t||[],source:"native"})},this.lifecycle=new class{handlers;options;state="closed";pendingTimer=null;waitResolvers=[];generation=0;animationAbort=null;constructor(t,e){this.handlers=t,this.options=e}get isOpen(){return"opening"===this.state||"open"===this.state}get isFullOpen(){return"open"===this.state}async requestOpen(){if("opening"===this.state||"open"===this.state)return;this.cancelPending();let t=++this.generation;this.handlers.beforeOpen&&this.handlers.beforeOpen(),this.state="opening",await this.waitForPhase("open",t),t===this.generation?(this.state="open",this.handlers.afterOpen&&this.handlers.afterOpen(),this.handlers.onOpenReady&&this.handlers.onOpenReady()):"opening"===this.state&&(this.state="closed")}async requestClose(t={source:"api",selectionChanged:!1}){if("closed"===this.state||"closing"===this.state||this.handlers.beforeClose&&!1===this.handlers.beforeClose(t))return!1;this.cancelPending();let e=++this.generation;return this.handlers.onClose&&this.handlers.onClose(t),this.state="closing",await this.waitForPhase("close",e),e===this.generation&&(this.state="closed",this.handlers.afterClose&&this.handlers.afterClose(),this.handlers.onCloseReady&&this.handlers.onCloseReady(),!0)}cancelPending(){this.generation++,this.animationAbort?.abort(),this.animationAbort=null,this.pendingTimer&&=(clearTimeout(this.pendingTimer),null);let t=this.waitResolvers.splice(0);for(let e of t)e()}destroy(){this.cancelPending(),this.state="closed"}waitForPhase(t,e){return new Promise((e=>{let i=!1,s=()=>{if(i)return;i=!0;let t=this.waitResolvers.indexOf(s);-1!==t&&this.waitResolvers.splice(t,1),e()};if(this.waitResolvers.push(s),this.options.waitForAnimation){let e=new AbortController;this.animationAbort=e,this.options.waitForAnimation(t,e.signal).catch((()=>{})).finally((()=>{this.animationAbort===e&&(this.animationAbort=null),s()}))}else this.pendingTimer=setTimeout((()=>{this.pendingTimer=null,s()}),this.options.timeoutDelay)})).then((()=>{this.generation}))}}({beforeOpen:this.events.beforeOpen,afterOpen:this.events.afterOpen,beforeClose:t=>this.events.beforeClose?.(t),onClose:t=>this.applyClose(t),afterClose:()=>{this.render.clearDirectionClasses(),this.render.finalizeModalClose(),this.events.afterClose&&this.events.afterClose()},onOpenReady:()=>this.globalEvents.attachDocumentClick(),onCloseReady:()=>this.globalEvents.detachDocumentClick()},{timeoutDelay:this.settings.timeoutDelay,waitForAnimation:(t,e)=>this.render.waitForAnimation(t,e)}),this.globalEvents=new class{handlers;attached=!1;constructor(t){this.handlers=t}attach(t){this.attached||(this.attached=!0,window.addEventListener("resize",this.resizeHandler,!1),t.listenScroll&&window.addEventListener("scroll",this.scrollHandler,!1),document.addEventListener("visibilitychange",this.visibilityHandler))}attachDocumentClick(){document.addEventListener("click",this.handlers.onDocumentClick)}detachDocumentClick(){document.removeEventListener("click",this.handlers.onDocumentClick)}detach(t){this.attached&&(this.attached=!1,this.detachDocumentClick(),window.removeEventListener("resize",this.resizeHandler,!1),t.listenScroll&&window.removeEventListener("scroll",this.scrollHandler,!1),document.removeEventListener("visibilitychange",this.visibilityHandler))}resizeHandler=Co((()=>{this.handlers.onWindowResize()}));scrollHandler=Co((()=>{this.handlers.onWindowScroll()}));visibilityHandler=()=>{this.handlers.onVisibilityChange()}}({onDocumentClick:this.documentClick.bind(this),onWindowResize:()=>{!this.settings.isOpen&&!this.settings.isFullOpen||this.render.moveContent()},onWindowScroll:()=>{!this.settings.isOpen&&!this.settings.isFullOpen||this.render.moveContent()},onVisibilityChange:()=>{document.hidden&&this.close({source:"api",selectionChanged:!1})}}),this.render.renderValues(),this.render.renderOptions(this.store.getData(!1));let n=this.selectEl.getAttribute("aria-label"),r=this.selectEl.getAttribute("aria-labelledby");if(n)this.render.main.main.setAttribute("aria-label",n);else if(r)this.render.main.main.removeAttribute("aria-label"),this.render.main.main.setAttribute("aria-labelledby",r);else if(this.selectEl.labels&&this.selectEl.labels.length>0){let t=Array.from(this.selectEl.labels).map(((t,e)=>(t.id||=`${this.settings.id}-label-${e}`,t.id)));this.render.main.main.removeAttribute("aria-label"),this.render.main.main.setAttribute("aria-labelledby",t.join(" "))}this.selectEl.parentNode&&this.selectEl.parentNode.insertBefore(this.render.main.main,this.selectEl.nextSibling),this.globalEvents.attach({listenScroll:"auto"===this.settings.openPosition}),this.settings.disabled&&this.disable(),this.settings.alwaysOpen&&this.open(),this.select.setupLabelHandlers(),this.selectEl.slim=this}enable(){this.settings.disabled=!1,this.select.enable(),this.render.enable()}disable(){this.settings.disabled=!0,this.select.disable(),this.render.disable()}getData(){return this.store.getData()}setData(t){this.sync.enqueue({type:"structure",data:t,source:"api"})}getSelected(){let t=this.store.getSelectedOptions();return this.settings.keepOrder&&(t=this.store.selectedOrderOptions(t)),t.map((t=>t.value))}setSelected(t,e=!0){this.sync.enqueue({type:"selection",values:t,source:"api",runAfterChange:e})}addOption(t){this.sync.enqueue({type:"addOption",option:t,source:"api"})}open(){if(this.settings.disabled||this.settings.isOpen)return;this.lifecycle.cancelPending(),this.render.open(),this.settings.showSearch&&this.settings.focusSearch&&this.render.searchFocus(),this.settings.isOpen=!0,this.lifecycle.requestOpen().then((()=>{this.settings.isOpen&&(this.settings.isFullOpen=this.lifecycle.isFullOpen,this.settings.isOpen=this.lifecycle.isOpen)})),"absolute"===this.settings.contentPosition&&!this.render.isModalViewActive()&&this.render.startPositionTracking();let t=this.render.content.search.input.value.trim();""!==t&&this.search(t)}close(t={source:"api",selectionChanged:!1}){!this.settings.isOpen||this.settings.alwaysOpen||this.lifecycle.requestClose(t).then((t=>{t&&(this.settings.isOpen||(this.settings.isOpen=this.lifecycle.isOpen,this.settings.isFullOpen=this.lifecycle.isFullOpen))}))}applyClose(t){this.render.close(),!this.settings.keepSearch&&""!==this.render.content.search.input.value&&(this.sync.flush(),this.search(""));let e="outside"===t.source||"toggle"===t.source;this.render.mainFocus(e?"click":null),this.settings.isOpen=!1,this.settings.isFullOpen=!1,this.render.stopPositionTracking()}search(t){let e=t.trim();if(""===e)return this.render.content.search.input.value="",void this.clearSearch();this.render.content.search.input.value!==t&&(this.render.content.search.input.value=t),this.events.search?this.runApiSearch(e):this.runLocalSearch(e)}clearSearch(){if(this.searchGeneration++,!this.events.search&&this.render.canFilterOptionsInPlace())return this.render.filterOptionsInPlace("",this.events.searchFilter),void this.render.resetSearchFilterState();this.render.resetSearchFilterState(),this.sync.enqueue({type:"structure",data:this.store.getCatalogData(),source:"api",preserveSelection:!0}
45)}runLocalSearch(t){if(this.render.canFilterOptionsInPlace())return void this.render.filterOptionsInPlace(t,this.events.searchFilter);let e=this.store.search(t,this.events.searchFilter);this.render.renderOptions(e)}runApiSearch(t){let e=++this.searchGeneration;this.render.renderSearching();let i=this.events.search(t,this.store.getSelectedOptions(),this.store.getCatalogData()),s=i=>{e===this.searchGeneration&&this.render.content.search.input.value.trim()===t&&this.sync.enqueue({type:"structure",data:i,source:"api",preserveSelection:!0,isSearchResult:!0})};i instanceof Promise?i.then(s).catch((t=>{e===this.searchGeneration&&this.render.renderError("string"==typeof t?t:t.message)})):Array.isArray(i)?s(i):this.render.renderError("Search event must return a promise or an array of data")}destroy(){this.lifecycle.destroy(),this.render.stopPositionTracking(),this.globalEvents.detach({listenScroll:"auto"===this.settings.openPosition}),this.store.setData([]),this.render.destroy(),this.select.destroy(),delete this.selectEl.slim}documentClick(t){this.settings.isOpen&&t.target&&!Eo(t.target,this.settings.id)&&this.close({source:"outside",selectionChanged:!1})}};const No="a.documentFilterUpdator";class zo{constructor(t){this.doNotUpdateUrl=!1,this.fetchingUrls=new Set,this.pendingRequests=0,this.restoringSelection=!1,this.context=t,this.filtersState=co(!0),this.tagPrefix="tag-"}setFilter(t,e){this.filtersState[t]=e}setUrl(t){if(!this.doNotUpdateUrl)if(0!==Object.keys(t).length)history.pushState(null,"","?"+uo(t));else{const t=window.location.origin+window.location.pathname;window.history.pushState(null,"",t)}}removeFilterByValue(t){Object.keys(this.filtersState).forEach((e=>{const i=this.filtersState[e],s=i.indexOf(t);-1!==s&&(i.splice(s,1),0===i.length&&delete this.filtersState[e])}))}removeFilterByKey(t){delete this.filtersState[t]}getFilters(){return this.filtersState}generateFilterTag(t,e){const i=document.createElement("span");e&&i.setAttribute("data-filter-id",e),i.classList.add("ps-4","pe-2","py-1","border","border-primary","text-primary","me-4","mt-4","fs-7","d-inline-block");const s=document.createElement("i");return s.classList.add("new-icon","new-icon-close","bg-primary","hover-cursor-pointer","medium"),i.textContent=t,i.appendChild(s),s.addEventListener("click",(()=>{this.tagRemoveHandler(e,i)})),i}addFilterTag(t){const e=t.getAttribute("data-filter-id"),i=this.getSelectedValuesContainer().querySelector(`[data-filter-id="${e}"]`);i&&i.remove(),this.getSelectedValuesContainer().appendChild(t)}tagRemoveHandler(t,e){const i=t.split(this.tagPrefix)[1],s=CSS.escape(i);let n=this.context.querySelector(`#${s}`);if(n||(n=this.context.querySelector(`option[value="${s}"]`)),null==n)return this.removeFilterByKey(i),this.setUrl(this.getFilters()),e.remove(),this.updateComponent(),void this.toggleResetButton();this.removeFilterByValue(n.value),this.setUrl(this.getFilters()),e.remove();const r=n.closest("select");if(!r)return this.toggleResetButton(),void this.updateComponent();const o=r.slim;if(o instanceof Bo){const t=Array.from(r.options).filter((t=>t!==n&&t.selected)).map((t=>t.value));o.setSelected(t)}else n.selected=!1,r.dispatchEvent(new Event("change"));this.toggleResetButton(),this.updateComponent()}generateDocumentLoader(){return'\n    <div class="placeholder-glow mt-4">
45\n      <span class="placeholder w-25"></span>\n      <span class="placeholder w-100"></span>\n      <span class="placeholder w-100"></span>\n      <span class="placeholder w-100"></span>\n\n      <span class="placeholder w-25 mt-3"></span>\n      <span class="placeholder w-100"></span>\n\n      <span class="placeholder w-25 mt-3"></span>\n      <span class="placeholder w-100"></span>\n      <span class="placeholder w-100"></span>\n      <span class="placeholder w-100"></span>\n\n      <span class="placeholder w-25 mt-3"></span>\n      <span class="placeholder w-100"></span>\n      <span class="placeholder w-100"></span>\n      <span class="placeholder w-100"></span>\n    </div>'}getSelectedValuesContainer(){return this.context.querySelector(".selected-values")}getResetButton(){return this.context.querySelector(".deselect-all-filters")}toggleResetButton(){const t=this.filtersState,e=0===Object.keys(t).length||Object.values(t).every((t=>Array.isArray(t)&&0===t.length));this.context.querySelector(".deselect-all-filters").classList.toggle("d-none",e)}disableFilters(t){this.context.querySelectorAll("input, select").forEach((e=>{e.disabled=t}))}clearFilters(){this.filtersState={},this.getSelectedValuesContainer().innerHTML="",this.context.querySelectorAll("select").forEach((t=>{t.value=""})),this.context.querySelectorAll('input[type="text"]').forEach((t=>{t.value=""})),this.toggleResetButton()}resetFiltersHandler(){this.clearFilters(),this.setUrl({}),this.context.querySelectorAll("select").forEach((t=>{t.dispatchEvent(new Event("change"))})),this.disableFilters(!0)}inputChangeHandler(t){if(this.setFilter(t.name,t.value),this.setUrl(this.getFilters()),""==t.value)return;const e=this.generateFilterTag(t.value,this.tagPrefix+t.name),i=this.getSelectedValuesContainer().querySelector(`[data-filter-id=${this.tagPrefix+t.getAttribute("name")}]`);i?i.replaceWith(e):this.getSelectedValuesContainer().appendChild(e),t.value="",this.updateComponent(),this.toggleResetButton()}selectChangeHandler(t){if(this.restoringSelection)return;const e=Array.from(t.options).filter((t=>1==t.selected)),i=e.map((t=>t.value)),s=this.filtersState[t.name]||[];if(i.length===s.length&&i.every((t=>s.includes(t))))return e.forEach((t=>{const e=this.tagPrefix+(t.id||t.value);if(!this.getSelectedValuesContainer().querySelector(`[data-filter-id="${e}"]`)){const i=this.generateFilterTag(t.text,e);this.addFilterTag(i)}})),void this.toggleResetButton();if(i.length<s.length){this.restoringSelection=!0;const e=t.slim;return e instanceof Bo?e.setSelected(s):Array.from(t.options).forEach((t=>{t.selected=s.includes(t.value)})),void(this.restoringSelection=!1)}this.filtersState[t.name]=i,e.forEach((t=>{const e=this.generateFilterTag(t.text,this.tagPrefix+(t.id||t.value));this.addFilterTag(e)}));const n=t.slim;n instanceof Bo&&n.close(),this.setUrl(this.getFilters()),this.updateComponent(),this.toggleResetButton()}updateLoader(t){this.pendingRequests>0&&(t.innerHTML=this.generateDocumentLoader())}async updateComponent(t=!1){const e=this.context.dataset.filterQuery,i=this.context.dataset.filterFor,s=this.context.parentElement.querySelector(`[data-component-id="${i}"][data-component-fetch]`),n=s.dataset.componentFetch;if(n&&(!this.fetchingUrls.has(n)||t)){this.fetchingUrls.add(n),this.pendingRequests++,this.updateLoader(s);try{const t=await this.fetchComponent(this.formatFetchLink(n,this.formatQuery(e,this.getFilters())));s.innerHTML=t,Drupal.attachBehaviors(s,drupalSettings),this.disableFilters(!1)}catch(t){console.error(t)}finally{this.fetchingUrls.delete(n),this.pendingRequests--,this.updateLoader(s)}}}async fetchComponent(t){const e=Nr(),i=await fetch(t,{headers:{"X-Requested-With":"XMLHttpRequest",traceparent:e}});if(!i.ok)throw new Error(`Failed to fetch component ${t}`);return i.text()}formatFetchLink(t,e){return(e="?"===e.charAt(0)?e.substring(1):e)?`${t}&${e}`:t}formatQuery(t,e){return new URLSearchParams({[t]:uo(e)}).toString()}}const Ro=(t,e)=>{const i=t.slim;i instanceof Bo?i.setSelected(e):(Array.from(t.options).forEach((t=>{t.selected=e.includes(t.value)}
45)),t.dispatchEvent(new Event("change")))},Fo=t=>{t.preventDefault();const e=t.target;window.history.pushState(null,"",e.href),e.hash&&"#"!==e.hash&&(window.location.hash=e.hash.substring(1))},Ho=(t,e)=>{e||"true"===t.dataset.tableFilterInitialized?(t.dataset.tableFilterInitialized="true",t.removeEventListener("click",Fo),t.addEventListener("click",(i=>{i.preventDefault();const s=co(!0,t.search);e.clearFilters(),Object.keys(s).forEach((t=>{e.context.querySelectorAll("select[name="+t+"]").forEach((e=>{Ro(e,Array.isArray(s[t])?s[t]:[s[t]])})),e.context.querySelectorAll("input[name="+t+"]").forEach((e=>{e.value=s[t],e.dispatchEvent(new Event("change"))}))})),t.hash&&"#"!==t.hash&&(window.location.hash=t.hash.substring(1))}))):t.addEventListener("click",Fo)},Wo=t=>{const e=new zo(t);((t,e)=>{t.querySelectorAll("input").forEach((t=>{t.nextElementSibling.addEventListener("click",(()=>{e.getSelectedValuesContainer()&&e.inputChangeHandler(t)})),t.addEventListener("keydown",(i=>{"Enter"===i.key&&(i.preventDefault(),e.inputChangeHandler(t))}))})),t.querySelectorAll("select").forEach((t=>{e.getSelectedValuesContainer()&&t.addEventListener("change",(()=>{e.getSelectedValuesContainer()&&e.selectChangeHandler(t)}))}));const i=e.getResetButton();i&&(i.addEventListener("click",(()=>{e.resetFiltersHandler(),e.toggleResetButton(),e.updateComponent(!0)})),e.toggleResetButton())})(t,e),document.querySelectorAll(No).forEach((t=>{Ho(t,e)})),e.doNotUpdateUrl=!0,0==Object.keys(e.filtersState).length&&(t.querySelectorAll("select").forEach((t=>{const i=t.dataset.defaultValues?t.dataset.defaultValues.split(","):[];t.length>0&&(e.filtersState[t.name]=i)})),t.querySelectorAll('input[type="text"]').forEach((t=>{t.value&&(e.filtersState[t.name]=t.value)}))),Object.keys(e.filtersState).length>0&&Object.entries(e.filtersState).forEach((([i,s])=>{t.querySelectorAll("select").forEach((t=>{t.name===i&&Ro(t,Array.isArray(s)?s:[s])})),t.querySelectorAll("input").forEach((t=>{t.name===i&&(t.value=s,e.inputChangeHandler(t))}))})),e.doNotUpdateUrl=!1,Object.keys(e.filtersState).length>0&&e.updateComponent()};var qo=i(4467),$o=i.n(qo);const jo=(t,e)=>{if(null!=e)for(const[i,s]of Object.entries(e))Pr("initChart",`#chart-${i}`,t).forEach((t=>{Go(t,s)}))};i.dn(jo);const Go=(t,e)=>{var i,s,n,r,o,a;const l=t.dataset.numberLocale;$o().setOptions(Object.assign(Object.assign({},Vo),e.lang?{lang:e.lang}:{}));const h="line_with_marks"===(null===(i=e.chart)||void 0===i?void 0:i.type)?"line":null===(s=e.chart)||void 0===s?void 0:s.type,c="datetime"===e.xAxis.type;$o().chart(t,Object.assign(Object.assign({},e),{chart:Object.assign(Object.assign({},e.chart),{type:h}),title:{text:Drupal.t("Performance Chart"),style:{display:"none"}},subtitle:null,legend:{enabled:!1},tooltip:Object.assign(Object.assign({},e.tooltip),Ko(null===(n=e.yAxis)||void 0===n?void 0:n.suffix,l,c)),yAxis:Object.assign(Object.assign({},e.yAxis),Xo(null===(r=e.chart)||void 0===r?void 0:r.type,null===(o=e.yAxis)||void 0===o?void 0:o.suffix)),xAxis:Object.assign(Object.assign({},e.xAxis),Yo(e.xAxis,null===(a=e.chart)||void 0===a?void 0:a.type,c)),plotOptions:Object.assign(Object.assign({},e.plotOptions),Uo())}))},Vo={palette:{colorScheme:"light"},colors:["var(--bs-blue)","var(--bs-aqua)","var(--bs-fuchsia)","var(--bs-dark-fuchsia)","var(--bs-green)","var(--bs-primary)","var(--bs-light-primary)","var(--bs-dark-primary)","var(--bs-pink)","var(--bs-dark-pink)","var(--bs-light-aqua)","var(--bs-dark-aqua)","var(--bs-light-green)","var(--bs-dark-green)","var(--bs-light-fuchsia)","var(--bs-light-pink)"],credits:{enabled:!1},chart:{backgroundColor:null,style:{fontFamily:"inherit"}},xAxis:{lineColor:"var(--bs-gray-500)",tickColor:"var(--bs-gray-500)",lineWidth:2},yAxis:{gridLineColor:"var(--bs-gray-300)"}},Xo=(t,e)=>{let i={labels:{formatter:function(){return`${this.value}${e}`}},title:{text:null}};return"column"===t&&(i.plotLines=[{color:"var(--bs-gray-500)",value:0,width:1,zIndex:4}]),"line_with_marks"===t&&(i.plotLines=[{color:"var(--bs-gray-600)",value:2,width:2,dashStyle:"Dot"},{color:"var(--bs-gray-600)",value:-2,width:2,dashStyle:"Dot"}]),i},Yo=(t,e,i)=>{const s=new Set;return{crosshair:Object.assign({color:"line"===e?"var(--bs-gray-700)":"var(--bs-gray-300)"},"line"===e&&{width:1}),labels:Object.assign(Object.assign({},t.labels.rotation?{rotation:t.labels.rotation}:{}),{formatter:function(){if(!this.value)return"";if(!i)return this.value.toString();const t=new Date(this.value),e=t.getFullYear().toString()+(t.getMonth()+1).toString().padStart(2,"0");return this.isFirst&&s.clear(),s.has(e)?"":(s.add(e),this.chart.time.dateFormat("%b %y",this.value))}})}},Uo=()=>({series:{states:{hover:{brightness:0,borderColor:"transparent"}}},line:{linecap:"round",marker:{enabled:!1,states:{hover:{enabled:!1}}}},column:{borderWidth:0,borderRadius:0,states:{hover:{enabled:!1}}}}
45),Ko=(t,e,i)=>({shared:!0,formatter:function(){return`\n      <div class="bg-white rounded-1 d-flex flex-column gap-2 p-3">\n        <b class="fs-7 fw-600 px-2 py-3 ${this.key?"":"d-none"}">${i&&this.key?this.series.chart.time.dateFormat("en-US"===e?"%b %d, %y":"%d %b %y",this.key):this.key}</b>\n        <ul class="list-unstyled m-0 px-2 d-flex flex-column gap-4">\n        ${this.points.map(((i,s)=>`\n            <li class="d-flex align-items-center gap-4 m-0">\n              <span class="d-block rounded-circle w-3 h-3" style="background-color:${i.color};"></span>\n              <span class="d-block fs-7 ${0===s?"fw-600":"fw-400"}">\n                ${i.y.toLocaleString(e,{minimumFractionDigits:2,maximumFractionDigits:20})}${t&&"%"}\n              </span>\n            </li>\n            `)).join("")}\n        </ul>\n      </div>\n    `},followPointer:!1,backgroundColor:"#FFFFFF",borderWidth:0,borderRadius:4,shape:"callout",distance:72,shadow:{color:"#1018281F",offsetX:0,offsetY:0,opacity:1,width:4},style:{color:"#212529"},useHTML:!0});i(980),i(6e3);var Zo=i(3101).A;const Qo={errorClass:"error"},Jo=t=>{if("function"!=typeof t.parsley)return null;const e=t.parsley(Qo);return"on"in e&&e.on("form:validate",(t=>{(t=>{const e=Zo('textarea[name="g-recaptcha-response"]',t);e.length&&!e.attr("data-parsley-required")&&(console.log("Adding captcha validation field"),e.attr("data-parsley-required","true").attr("data-parsley-errors-container",`#${t.id} div.captcha`),e.parsley())})(t.element)})),e};var ta=i(3101).A;
45const ea=["form.web-account-ajax-login-form"],ia="document_basket",sa={save:function(t){window.localStorage.setItem(ia,JSON.stringify(t))},get:function(){return JSON.parse(window.localStorage.getItem(ia)||"{}")},clear:function(){window.localStorage.removeItem(ia)}},na=t=>{(t.countryChanged||t.roleChanged||t.loggedIn||t.loggedOut)&&sa.clear()};function ra(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)"__proto__"!==s&&(t[s]=i[s])}return t}var oa=function t(e,i){function s(t,s,n){if("undefined"!=typeof document){"number"==typeof(n=ra({},i,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var o in n)n[o]&&(r+="; "+o,!0!==n[o]&&(r+="="+n[o].split(";")[0]));return document.cookie=t+"="+e.write(s,t)+r}}return Object.create({set:s,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var i=document.cookie?document.cookie.split("; "):[],s={},n=0;n<i.length;n++){var r=i[n].split("="),o=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(a in s||(s[a]=e.read(o,a)),t===a)break}catch(t){}}return t?s[t]:s}},remove:function(t,e){s(t,"",ra({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,ra({},this.attributes,e))},withConverter:function(e){return t(ra({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),aa=i(3101).A;const la=async(t,e)=>{let i=await fetch(t,e);if(!1===i.ok)throw new Error("could not fetch data with props");return i.json()},ha=(t,e,i)=>{const s=new Headers;for(const t in e)s.append(t,e[t]);const n=new FormData;for(const t in i)n.append(t,i[t]);return{method:t,headers:s,body:n,redirect:"follow"}},ca=(t,e)=>{try{t()}catch(t){console.error(`Error in ${e}:`,t)}};async function da(t){t.addEventListener("click",(t=>{var e;const i=t.currentTarget,s=null===(e=i.attributes.getNamedItem("data-fund-id"))||void 0===e?void 0:e.value;(parseInt(s)<=0||void 0===s||""===s)&&console.error("Could not find fundId on alert: ",i);const n=function(t){return t.querySelector("i").classList.contains("new-icon-message-filled")}(i),r=!n;!0===r?pa(i):ua(i),((t,e)=>la("/mangroup/funds-performance/alert",ha("POST",{},{fundId:t,status:e.toString()})))(s,r).then((t=>{if("ok"!==t.status)return!0===n?pa(i):ua(i),void console.error(t)})).catch((t=>{!0===n?pa(i):ua(i),console.error(t)}))}))}function ua(t){const e=t.querySelector("i");e.classList.add("new-icon-message"),e.classList.remove("new-icon-message-filled")}function pa(t){const e=t.querySelector("i");e.classList.add("new-icon-message-filled"),e.classList.remove("new-icon-message")}async function fa(t){t.addEventListener("click",(t=>{var e;const i=t.currentTarget,s=null===(e=i.attributes.getNamedItem("data-fund-id"))||void 0===e?void 0:e.value;(parseInt(s)<=0||void 0===s||""===s)&&console.error("Could not find fundId on watchlist: ",i);const n=function(t){return t.querySelector("i").classList.contains("new-icon-star-filled")}(i),r=!n;!0===r?ma(i):ga(i),((t,e)=>la("/mangroup/funds-performance/watchlist",ha("POST",{},{fundId:t,status:e.toString()})))(s,r).then((t=>{if("ok"!==t.status)return!0===n?ma(i):ga(i),void console.error(t)})).catch((t=>{!0===n?ma(i):ga(i),console.error(t)}))}))}function ga(t){const e=t.querySelector("i");e.classList.add("new-icon-star"),e.classList.remove("new-icon-star-filled")}function ma(t){const e=t.querySelector("i");e.classList.add("new-icon-star-filled"),e.classList.remove("new-icon-star")}var va=i(3236),ba=i.n(va);async function ya(t){t.addEventListener("click",(()=>{const t=document.getElementById("fund-centre-login-modal");t?new(ba())(t).show():console.warn("Modal not found")}))}const xa=640,wa=1024,Sa=t=>Array.from(document.querySelectorAll(`.${t}`)),Ea=()=>{return t="toolbar-bar",document.getElementById(t);var t},Ca=()=>Sa("sticky-top"),Aa=()=>{var t,e;const i=Ca();let s=null!==(e=null===(t=Ea())||void 0===t?void 0:t.offsetHeight)&&void 0!==e?e:0;
45i.forEach(((t,e)=>{s>0&&(s-=2),t.style.top=`${s}px`,t.style.zIndex=(1220-e+i.length-1).toString();t.classList.contains("sticky-pushed")||(s+=t.offsetHeight)}))},Ta=()=>{const{header:t,stickyToppers:e}={header:null!==(s=null===(i=Ea())||void 0===i?void 0:i.offsetHeight)&&void 0!==s?s:0,stickyToppers:null!==(r=null===(n=Ca())||void 0===n?void 0:n.reduce(((t,e)=>t+e.offsetHeight),0))&&void 0!==r?r:0};var i,s,n,r;return window.innerWidth>=wa?t+e:e};let ka=window.scrollY,Ma=Date.now();let Oa=null,La=!1;const _a=()=>{const t=Sa("sticky-push"),e=Ca();if(0===t.length)return;const i=document.getElementById("app-nav");if(null==i?void 0:i.classList.contains("show"))return;const s=window.scrollY,n=Date.now(),r=s<ka,o=s>ka,a=n-Ma>120;t.forEach((t=>{const i=e.indexOf(t),s=t.getBoundingClientRect(),n=parseFloat(t.style.top||"0"),l=s.top<=n+1;e.forEach(((t,e)=>{if(e>=i)return;const s=()=>{window.innerWidth>=wa?t.classList.remove("sticky-pushed"):l&&o?t.classList.add("sticky-pushed"):(r||a)&&t.classList.remove("sticky-pushed")};La?(Oa&&clearTimeout(Oa),Oa=setTimeout(s,200)):s()}))})),Ma=n,ka=s,Aa()},Pa=t=>{const e=document.getElementById("mobileToggleMenuContent");t.style.maxHeight="none";const i=e.style.display,s=e.style.position,n=e.style.visibility;e.style.display="block",e.style.position="absolute",e.style.visibility="hidden";const r=t.offsetHeight;return e.style.display=i,e.style.position=s,e.style.visibility=n,r},Da=()=>{const t=document.getElementById("mobileToggleMenuContent");if(t){const e=t.querySelector(".digital-navigation-mega-mobile");if(e){const i=Pa(t),s=Pa(e);t.addEventListener("show.bs.collapse",(n=>{t.style.height=`${i}px`,e.style.height=`${s}px`}))}}},Ia=()=>{var t,e;const i=Ta(),s=null!==(e=null===(t=Ea())||void 0===t?void 0:t.offsetHeight)&&void 0!==e?e:0;document.documentElement.style.setProperty("--scroll-offset",`${i}px`),document.documentElement.style.setProperty("--appbar-height",s-1+"px"),Aa(),_a()},Ba=()=>{var t;(()=>{const t=Ea();t&&new ResizeObserver(Ia).observe(t);window.addEventListener("scroll",_a),window.addEventListener("resize",Br((()=>{_a(),Da()}),50))})(),setTimeout(Ia,1e3);const e=document.getElementById("mobileToggleMenuContent");Da();const i=null===(t=document.querySelector('[data-navigation-id="digitalNavigation"]'))||void 0===t?void 0:t.classList.contains("hidden");e&&!i&&e.addEventListener("show.bs.collapse",(()=>{setTimeout((()=>{document.querySelectorAll(".sticky-top").forEach((t=>{t.classList.remove("sticky-pushed")}))}),100)}));const s=document.getElementById("app-nav");if(!s||!i)return;let n=!1;s.addEventListener("show.bs.collapse",(()=>{La=!0,document.body.classList.add("no-scroll"),s.style.overflowY="auto",s.style.maxHeight="calc(100vh - 114px)";const t=document.getElementById("header");t&&setTimeout((()=>(t=>{t.classList.remove("sticky-pushed"),n||(n=!0,s.addEventListener("hide.bs.collapse",(()=>{document.body.classList.remove("no-scroll"),s.style.overflowY="",s.style.maxHeight="",n=!1,La=!1}),{once:!0}))})(t)),100)}))};"scrollRestoration"in history&&(history.scrollRestoration="manual");const Na=60,za=t=>{const e=Ra(t);return e?e.classList.contains("section")?e:e.closest(".section"):null},Ra=t=>{let e=t.getAttribute("href");return e?(e.startsWith("#")&&(e="#"+CSS.escape(e.substring(1))),document.querySelector(e)):null},Fa=()=>{const t=Array.from(document.querySelectorAll('.spy a[href^="#"]'));let e=t.map(za);const i=new Set(e);return i.delete(null),1===i.size&&t.length>1&&(e=t.map(Ra)),{navItems:t,sections:e}},Ha=()=>{const t=window.pageYOffset||document.documentElement.scrollTop,e=Ta(),{navItems:i,sections:s}=Fa(),n=((t,e,i,s)=>{if(0===i.length)return-1;const n=i[0];if(n){const i=n.getBoundingClientRect().top+t-e;if(t<i)return-1}return t+window.innerHeight>=document.body.scrollHeight-10?s.length-1:i.findIndex((i=>{if(!i)return!1;const s=i.getBoundingClientRect().top+t-e;return t>=s&&t<s+i.offsetHeight}))})(t,e,s,i);if((t=>{t.forEach((t=>t.classList.remove("active")))})(i),-1!==n&&i[n]){i[n].classList.add("active");const t=i[n].closest("li.nav-item");t&&Xa(t)}},Wa=()=>{const{navItems:t,sections:e}=Fa();t.forEach(((t,i)=>{"true"!==t.getAttribute("listen-for-click")&&(t.addEventListener("click",(s=>{s.preventDefault(),((t,e,i)=>{let s=i[t];if(!s)return;if(null===s.offsetParent){const t=s.closest(".pixel-pattern-container");if(t){const e=Array.from(t.querySelectorAll(".pixel-pattern")).find((t=>null!==t.offsetParent));if(!e)return void console.warn("No visible section found in .pixel-pattern-container");s=e}}setTimeout((()=>{Ua(s)}),0);const n=e.getAttribute("href");n&&window.history.pushState(null,"",n);const r=e.closest("li.nav-item");r&&Xa(r)})(i,t,e)})),t.setAttribute("listen-for-click","true"));const s=t.classList.contains("active");s&&t.classList.remove("active"),t.style.width="auto";const n=t.offsetWidth;t.style.width=`${n}px`,s&&t.classList.add("active")}))},qa=t=>Array.from(t.querySelectorAll("li.nav-item")).filter((t=>!t.classList.contains("d-none"))),$a=t=>t.reduce(((t,e)=>({offsets:[...t.offsets,t.total],widths:[...t.widths,e.clientWidth],total:t.total+e.clientWidth}
45)),{offsets:[],widths:[],total:0}),ja=t=>{const e=t.scrollLeft,i=t.clientWidth,s=t.scrollWidth-i,n=qa(t);if(0===n.length)return e;const{offsets:r,widths:o}=$a(n),a=r.map(((t,e)=>t+o[e])),l=0===e?i-Na:e+i-Na,h=a.reduce(((t,e,i)=>e<=l?i:t),-1);if(h>=n.length-1)return s;const c=h+1,{groupEnd:d}=n.slice(c).reduce(((t,e,s)=>{const n=t.groupWidth+o[c+s];return n<=i-80?{groupEnd:c+s,groupWidth:n}:t}),{groupEnd:c,groupWidth:o[c]}),u=d===n.length-1?i-Na:i-80,p=a[d]-u;return Math.max(0,Math.min(p,s))},Ga=t=>{const e=t.scrollLeft,i=t.clientWidth,s=qa(t);if(0===s.length)return e;const{offsets:n,widths:r}=$a(s),o=e+Na,a=n.findIndex((t=>t>=o)),l=(-1===a?s.length:a)-1;if(l<0)return 0;const h=(t,e)=>t<0||e+r[t]>i-80?t+1:h(t-1,e+r[t]),c=h(l-1,r[l]),d=n[c]-(0===c?0:Na);return Math.max(0,d)},Va=(t,e,i)=>{const s=t.scrollLeft,n=t.scrollWidth-t.clientWidth;s<=0?e.classList.add("d-none"):e.classList.remove("d-none"),s>=n-1?i.classList.add("d-none"):i.classList.remove("d-none")},Xa=t=>{const e=t.closest(".nav-scroll");if(!e)return;const i=e.scrollLeft,s=e.clientWidth,n=i+(i>0?Na:0),r=i+s-(i<e.scrollWidth-s?Na:0),o=t.offsetLeft,a=t.offsetLeft+t.clientWidth,l=o<n?Math.max(0,o-(i>0?Na:0)):a>r?Math.min(e.scrollWidth-s,a-s+(i<e.scrollWidth-s?Na:0)):i;l!==i&&e.scrollTo({left:l,behavior:"smooth"})},Ya=()=>Array.from(document.querySelectorAll(".nav-wrap")).forEach((t=>(t=>{const e=t.querySelector(".nav-scroll"),i=t.querySelector(".left-arrow-bg"),s=t.querySelector(".right-arrow-bg");e&&i&&s&&(s.addEventListener("click",(()=>e.scrollTo({left:ja(e),behavior:"smooth"}))),i.addEventListener("click",(()=>e.scrollTo({left:Ga(e),behavior:"smooth"}))),e.addEventListener("scroll",(()=>Va(e,i,s))),window.addEventListener("resize",(()=>Va(e,i,s))),Va(e,i,s))})(t))),Ua=(t,e=0)=>{const i=t.getBoundingClientRect().top+window.scrollY-Ta()-e+5;window.scrollTo({top:i,behavior:"smooth"})},Ka=()=>{const t=window.location.hash?"#"+CSS.escape(window.location.hash.substring(1)):null,e=document.querySelector(".loader--product");if(!t)return void(e&&(e.classList.remove("d-flex"),e.classList.add("d-none")));const i=document.querySelector(t);if(!i)return void(e&&(e.classList.remove("d-flex"),e.classList.add("d-none")));const s=i.classList.contains("section")?i:i.closest(".section");if(!s)return;if(-1===Array.from(document.querySelectorAll(".section")).findIndex((t=>t===s)))return void(e&&(e.classList.remove("d-flex"),e.classList.add("d-none")));const n=new URLSearchParams(window.location.search).get("customTimeout"),r=n?1e3*parseInt(n):3e3,o=s.getBoundingClientRect().top+200<i.getBoundingClientRect().top?i:s;Ua(o,o===i?20:0),setTimeout((()=>{Ua(o,o===i?20:0),e&&(e.classList.remove("d-flex"),e.classList.add("d-none"))}),r)},Za={current:null},Qa=t=>{(t=>{if(Za.current)return;let e=window.scrollY;const i=()=>{const i=window.scrollY;i>200&&i<e?t.classList.remove("d-none"):t.classList.add("d-none"),e=i};i(),Za.current=i,window.addEventListener("scroll",Za.current),window.addEventListener("resize",Za.current)})(t),t.addEventListener("click",(()=>window.scrollTo({top:0,behavior:"smooth"})))},Ja=t=>{const e=document.createElement("div");e.className="search__autocomplete";const i=t.dataset.simpleAutocomplete;t.parentNode.appendChild(e),e.style.display="none",t.addEventListener("input",Br(a,200)),t.addEventListener("focus",(function(){t.value.trim().length>=3&&a()})),document.addEventListener("click",(function(i){t.contains(i.target)||e.contains(i.target)||(e.style.display="none")}));let s=-1;function n(t,e){t.forEach(((t,i)=>{i===e?(t.classList.add("search__autocomplete-item--selected"),t.scrollIntoView({block:"nearest",behavior:"smooth"})):t.classList.remove("search__autocomplete-item--selected")}))}t.addEventListener("keydown",(i=>{if("Enter"===i.key){i.preventDefault();const s=e.querySelector(".search__autocomplete-item--selected");s&&"block"===e.style.display?(t.value=s.dataset.value,e.style.display="none"):t.value.trim().length>=3&&o(t.value)}else if("Escape"===i.key){i.preventDefault(),e.style.display="none";const s=document.querySelector(".digital-navigation-mega"),n=null==s?void 0:s.querySelector(".nav__item--active");if(n){const e=n.querySelector(".root-dropdown-menu");if(e){n.classList.remove("nav__item--active");const t=n.querySelector(".nav__link");
45null==t||t.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true"),Rr(e,!1)}t.value=""}}else if("ArrowDown"===i.key&&"block"===e.style.display){i.preventDefault();const t=e.querySelectorAll(".search__autocomplete-item");if(0===t.length)return;s=(s+1)%t.length,n(t,s)}else if("ArrowUp"===i.key&&"block"===e.style.display){i.preventDefault();const t=e.querySelectorAll(".search__autocomplete-item");if(0===t.length)return;s=(s-1+t.length)%t.length,n(t,s)}}));const r=t.parentNode.querySelector(".search__button");function o(t){window.location.href=`/search?searchQuery=${encodeURIComponent(t.trim())}`}function a(){const n=t.value.trim().toLowerCase();if(n.length>0&&n.length<3)return l(Drupal.t("Query string must be at least @min characters long",{"@min":3..toString()})),void(e.style.display="block");if(0===n.length)return void(e.style.display="none");if(!i)return void console.error("Autocomplete URL not provided");e.style.display="none";const r=`${i}?q=${encodeURIComponent(n)}`;fetch(r).then((t=>{if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);return t.json()})).then((i=>{i.length>0?function(i){e.innerHTML="",s=-1,i.forEach((i=>{const n=document.createElement("div");n.className="search__autocomplete-item",n.textContent=i.label,n.setAttribute("data-value",i.value),n.setAttribute("tabindex","-1"),n.addEventListener("mouseenter",(()=>{e.querySelectorAll(".search__autocomplete-item").forEach((t=>{t.classList.remove("search__autocomplete-item--selected")})),n.classList.add("search__autocomplete-item--selected"),s=Array.from(e.children).indexOf(n)})),n.addEventListener("click",(()=>{t.value=i.value,e.style.display="none"})),e.appendChild(n)}))}(i):l(Drupal.t("No results found")),e.style.display="block"})).catch((t=>{console.error("Error fetching autocomplete suggestions:",t),e.style.display="none"}))}function l(t){e.innerHTML="";const i=document.createElement("div");i.className="search__autocomplete-item search__autocomplete-item--noresults",i.textContent=t,i.style.pointerEvents="none",i.style.color="#999",e.appendChild(i),s=-1}r&&r.addEventListener("click",(()=>{o(t.value)}))},tl=t=>{t instanceof HTMLInputElement&&Ja(t)},el=t=>{t.querySelectorAll(".root-dropdown-menu").forEach((t=>{Rr(t,!1);const e=t.querySelector(".open-dropdown-menu");e&&e.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.setAttribute("aria-hidden","true")}))})),t.querySelectorAll(".open-dropdown-submenu").forEach((t=>{t.querySelectorAll("a").forEach((t=>{t.setAttribute("tabindex","-1")}))}));document.addEventListener("click",(e=>{if(!t||t.contains(e.target))return;const i=t.querySelector(".nav__item--active");if(!i)return;const s=i.querySelector(".root-dropdown-menu");if(!s)return;s.style.removeProperty("z-index"),i.classList.remove("nav__item--active");const r=i.querySelector(".nav__link");null==r||r.setAttribute("aria-expanded","false"),s.setAttribute("aria-hidden","true");const o=s.querySelector(".open-dropdown-menu");o&&(o.setAttribute("aria-hidden","true"),o.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.setAttribute("aria-hidden","true")}))),Rr(s,!1),n()})),t.querySelectorAll("a:not(.open-dropdown-submenu__nav-link)").forEach((t=>{t.addEventListener("click",(()=>{n()}))}));const e=t.querySelectorAll(".nav__item.nav__item--dropdown"),i=t.querySelector(".digital-close-button"),s=t=>{t.classList.contains("nav__item--mega-search")&&setTimeout((()=>{const e=t.querySelector(".search__input");null==e||e.focus()}),400)},n=()=>{const e=t.querySelector(".open-dropdown-menu__nav-item--active");if(e){e.classList.remove("open-dropdown-menu__nav-item--active");const t=e.querySelector("button");t&&t.setAttribute("aria-expanded","false")}t.querySelectorAll(".open-dropdown-submenu:not(.d-none)").forEach((t=>{const e=t;e.classList.add("d-none"),e.style.height="0",e.style.opacity="0",e.querySelectorAll("a").forEach((t=>{t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true")}))}))};i&&i.addEventListener("click",(e=>{e.preventDefault();const i=t.querySelector(".nav__item--active");if(!i)return;const s=i.querySelector(".root-dropdown-menu");if(s){i.classList.remove("nav__item--active");const t=i.querySelector(".nav__link");
45null==t||t.setAttribute("aria-expanded","false"),s.setAttribute("aria-hidden","true");const e=s.querySelector(".open-dropdown-menu");e&&(e.setAttribute("aria-hidden","true"),e.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.setAttribute("aria-hidden","true")}))),Rr(s,!1)}const r=t.querySelector(".search__input");r&&(r.value="");const o=t.querySelector(".search__autocomplete");o&&(o.style.display="none"),n()})),e.forEach((e=>{const i=e.querySelector(".nav__link"),r=e.querySelector(".root-dropdown-menu"),o=r.querySelector(".container.container--fadeintro");if(!i||!r||!o)return;const a=a=>{a.preventDefault();const l=t.querySelector(".nav__item--active");if(n(),r.style.removeProperty("z-index"),l===e){e.classList.remove("nav__item--active"),i.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true");const t=r.querySelector(".open-dropdown-menu");return t&&(t.setAttribute("aria-hidden","true"),t.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.setAttribute("aria-hidden","true")}))),void Rr(r,!1)}if(l){const t=l.querySelector(".root-dropdown-menu"),n=t.querySelector(".container.container--fadeintro");if(!t||!n)return;return((t,e)=>{t.style.transition="none",t.style.visibility="hidden",e.style.opacity="0"})(r,o),r.offsetHeight,n.style.opacity="0",n.offsetHeight,void setTimeout((()=>{e.classList.add("nav__item--active"),i.setAttribute("aria-expanded","true"),r.setAttribute("aria-hidden","false");const n=r.querySelector(".open-dropdown-menu");n&&(n.setAttribute("aria-hidden","false"),n.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.removeAttribute("aria-hidden")}))),Rr(r,!0),s(e),t.style.removeProperty("height"),t.style.removeProperty("z-index"),t.offsetHeight,r.style.zIndex="-1",r.style.removeProperty("visibility"),o.style.opacity="1",r.offsetHeight,o.offsetHeight,r.style.removeProperty("transition"),l.classList.remove("nav__item--active");const a=l.querySelector(".nav__link");null==a||a.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true");const h=t.querySelector(".open-dropdown-menu");h&&(h.setAttribute("aria-hidden","true"),h.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.setAttribute("aria-hidden","true")}))),Rr(t,!1),t.style.removeProperty("transition")}),50)}e.classList.add("nav__item--active"),i.setAttribute("aria-expanded","true"),r.setAttribute("aria-hidden","false");const h=r.querySelector(".open-dropdown-menu");h&&(h.setAttribute("aria-hidden","false"),h.querySelectorAll(".open-dropdown-menu__nav-item").forEach((t=>{t.removeAttribute("aria-hidden")}))),o.style.opacity="1",Rr(r,!0),s(e)};i.addEventListener("click",a),i.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||a(t)}))}));const r=t.querySelectorAll(".open-dropdown-menu__nav-item--dropdown[data-nav-target]"),o=t.querySelectorAll(".open-dropdown-submenu");r.length&&r.forEach((e=>{const i=e,s=i.dataset.navTarget;if(!s)return;const n=i.querySelector("button");if(n){const e=t=>{var e;t.preventDefault(),r.forEach((t=>{t.classList.remove("open-dropdown-menu__nav-item--active");const e=t.querySelector("button");e&&e.setAttribute("aria-expanded","false")})),i.classList.add("open-dropdown-menu__nav-item--active"),n.setAttribute("aria-expanded","true"),e=s,o.forEach((t=>{const i=t,s=i.dataset.navId;i.classList.toggle("d-none",s!==e),s===e?(i.style.height=i.scrollHeight+"px",i.style.opacity="1",i.querySelectorAll("a").forEach((t=>{t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden")}))):(i.style.height="0",i.style.opacity="0",i.querySelectorAll("a").forEach((t=>{t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true")})))}))};n.addEventListener("click",e),n.addEventListener("keydown",(i=>{"Enter"!==i.key&&" "!==i.key||(e(i),setTimeout((()=>{const e=t.querySelector(`.open-dropdown-submenu[data-nav-id="${s}"]:not(.d-none)`);if(e){const t=e.querySelector("a");t&&t.focus()}}),100))}))}}))},il=t=>{el(t)},sl=t=>{const e=t.querySelector(".digital-navigation-mega-mobile"),i=t.querySelector(".digital-nav-auxiliary");let s="auto";if(!i)return setTimeout((()=>sl(t)),100);e.querySelectorAll("[data-nav-target]").forEach((t=>{t.addEventListener("click",(n=>{n.preventDefault();const r=t.getAttribute("data-nav-target");e.querySelector(`[data-nav-id="${r}"]`).classList.remove("d-none"),e.querySelector(".mobile-menu-panels").classList.add("show-submenu"),s="auto"!==e.style.height?e.style.height:s,e.style.height="auto",null==i||i.classList.add("d-none")}))})),e.querySelectorAll(".mobile-menu-back").forEach((t=>{t.addEventListener("click",(n=>{n.preventDefault(),e.querySelector(".mobile-menu-panels").classList.remove("show-submenu"),e.style.height=s,t.closest("[data-nav-id]").classList.add("d-none"),null==i||i.classList.remove("d-none")}))})),t.querySelectorAll(".btn[data-bs-toggle][data-bs-target]").forEach((n=>{const r=t.querySelector(n.getAttribute("data-bs-target"));r.addEventListener("hide.bs.collapse",(()=>{null==i||i.classList.remove("d-none"),e.querySelector(".mobile-menu-panels").classList.remove("show-submenu"),e.style.height=s,e.querySelectorAll("[data-nav-id]").forEach((t=>{t.classList.add("d-none")}))})),r.addEventListener("shown.bs.collapse",(t=>{if(t.target instanceof HTMLElement&&"mobileToggleSearchContent"===t.target.id){const e=t.target.querySelector(".search__input");null==e||e.focus()}}))}))},nl=t=>{sl(t)},rl=()=>(t,e)=>{if(!e)return!0;
45if("label"in t)return!1;const i=t.text||"";return i===Drupal.t("Other")||"string"==typeof i&&i.toLowerCase().includes(e.toLowerCase())},ol=()=>()=>{document.querySelectorAll(".ss-list .ss-highlighted").forEach((t=>{t.classList.remove("ss-highlighted")}))},al=(t,e)=>{const i=t.closest(".js-form-item");i&&(e.contentLocation=i,e.contentPosition="absolute")},ll=t=>Array.from(t.classList).filter((t=>!["slimSelect","d-none"].includes(t)&&""!==t.trim())),hl=(t,e)=>{const i=ll(t);i.length>0&&(e.class=i)},cl=(t,e)=>{var i;const s=null!==t.getAttribute("data-placeholder"),n=t.getAttribute("data-placeholder");s&&n&&(null===(i=t.querySelector("option"))||void 0===i||i.setAttribute("data-placeholder","true"),e.placeholderText=n)},dl=(t,e,i)=>{e.setAttribute("is-initiated","true"),ul(t,e),ml(t,e),i&&function(t){if(!t.render)return;const e=t.render.content.search.input;if(!e)return;e.onkeydown=e=>{switch(e.key){case"ArrowUp":case"ArrowDown":return"ArrowDown"===e.key?t.render.highlight("down"):t.render.highlight("up"),!1;case"Tab":return t.render.callbacks.close(),!0;case"Escape":return t.render.callbacks.close(),!1;case"Enter":if(t.render.callbacks.addable)return t.render.content.search.addable.main.click(),!1;{const e=t.render.content.list.querySelector("."+t.render.classes.highlighted);if(e)return e.click(),!1}return!0}return!0},e.oninput=Br((e=>{t.render.callbacks.search(e.target.value),i()}),100),e.onfocus=Br((t=>{i()}),100);const i=()=>{t.render.content.main.querySelectorAll(".ss-selected:not(.ss-hide)").length>0||(t.render.content.list.querySelectorAll(".ss-highlighted").forEach((t=>{t.classList.remove("ss-highlighted")})),t.render.highlight("down"))}}(t),e.classList.remove("d-none")},ul=(t,e)=>{if(!t.render)return;const i=ll(e);
45if(0===i.length)return;const s=t.render.updateClassStyles.bind(t.render);t.render.updateClassStyles=()=>{s(),i.forEach((e=>{t.render.content.main.classList.add(e)}))},t.render.updateClassStyles()};async function pl(t){const e=null!==t.getAttribute("data-search"),i=t.getAttribute("data-search"),s={showSearch:e,focusSearch:!0,modal:"off"},n={afterClose:ol()};al(t,s),hl(t,s),e&&i&&(s.searchPlaceholder=Drupal.t(i,{},{context:"Digital"}),s.searchHighlight=!0,n.searchFilter=rl()),cl(t,s);const r=new Bo({select:t,settings:s,events:n});dl(r,t,e)}async function fl(t){const e=t.getAttribute("data-search"),i={showSearch:!0,searchPlaceholder:Drupal.t(e||"Please select",{},{context:"Digital"}),searchHighlight:!0,modal:"off"};al(t,i),hl(t,i),cl(t,i);const s=new Bo({select:t,settings:i,events:{afterChange:()=>{document.querySelector("form.continent-country-selection-form").submit()},afterClose:ol(),searchFilter:rl()}});dl(s,t,!0)}async function gl(t){const e=ll(t),i=new Bo({select:t,settings:{showSearch:!1,isMultiple:!0,focusSearch:!0,closeOnSelect:!1,modal:"off",class:e},events:{afterChange:()=>{i.render&&!i.render.main.main.querySelector(".ss-placeholder")&&(i.render.main.values.innerHTML="",i.render.main.values.appendChild(i.render.placeholder()))},afterClose:ol()}});ul(i,t),ml(i,t)}function ml(t,e){if(!t.render)return;const i=t.render.main.main,s=t.render.content.list,n=i.querySelector(".ss-search input");if(s.id=`${e.id}-listbox`,i.setAttribute("role","combobox"),i.setAttribute("aria-haspopup","listbox"),i.setAttribute("aria-expanded","false"),i.setAttribute("aria-controls",s.id),e.hasAttribute("aria-label")?(s.setAttribute("aria-label",e.getAttribute("aria-label")),i.setAttribute("aria-label",e.getAttribute("aria-label"))):e.hasAttribute("id")&&document.getElementById(`${e.getAttribute("id")}-label`)&&(s.setAttribute("aria-labelledby",`${e.getAttribute("id")}-label`),i.setAttribute("aria-labelledby",`${e.getAttribute("id")}-label`)),n){const t=i.querySelector(".ss-search");t&&(t.addEventListener("click",(t=>{t.stopPropagation(),n&&n.focus()}),!0),t.addEventListener("mousedown",(t=>{t.stopPropagation()}),!0)),n.addEventListener("click",(t=>{t.stopPropagation(),n.focus()})),n.addEventListener("mousedown",(t=>{t.stopPropagation()}))}else i.setAttribute("tabindex","0");s.querySelectorAll(".ss-option").forEach((t=>{t.setAttribute("role","option")})),i.addEventListener("keydown",(e=>{const s=e.target;if((null==s?void 0:s.classList.contains("ss-search-input"))||s===n)return;const{key:r}=e;!t.settings.isOpen&&["ArrowDown","ArrowUp","Enter"," "].includes(r)&&(t.open(),i.setAttribute("aria-expanded","true"),e.preventDefault()),"Escape"===r&&(t.close(),i.setAttribute("aria-expanded","false"))})),i.addEventListener("click",(e=>{const s=e.target;n&&(s===n||s.closest(".ss-search"))||i.setAttribute("aria-expanded",t.settings.isOpen?"true":"false")}))}const vl={social:"splash-social",external:"splash-other",external_man:"splash-other-man",language_switch:"splash-language-switch"},bl=t=>{if(t instanceof NodeList||t instanceof Array){if(0===t.length)return;t.forEach((t=>{t.addEventListener("click",(t=>{t.preventDefault();const e=t.currentTarget;return yl(e),!1}))}))}else t.addEventListener("click",(t=>{t.preventDefault();const e=t.currentTarget;return yl(e),!1}))},yl=t=>{const e=t.closest(".modal.show"),i=e?"#"+e.id:null,s=e?e.getAttributeNames():null;if(e){yn.getOrCreateInstance(e).hide()}const n=xl(t.classList),r=document.querySelector(n);if(r){const e=new yn(r),n=r.querySelector("#splash-button");let o=!1;if(n){n.setAttribute("href",t.getAttribute("href")||"#");const i=()=>{o=!0;const i=new CustomEvent("splash-modal:accepted",{detail:{url:t.getAttribute("href")}});document.dispatchEvent(i),e.hide()};n.addEventListener("click",i,{once:!0})}const a=()=>{if(!o){const t=new CustomEvent("splash-modal:cancelled",{detail:{previousModalSelector:i,previousModalAttributes:s}});document.dispatchEvent(t)}r.removeEventListener("hidden.bs.modal",a)};r.addEventListener("hidden.bs.modal",a,{once:!0}),e.show()}},xl=t=>t.contains("splash-social")?"#social-modal":t.contains("splash-other-man")?"#man-external-modal":t.contains("splash-language-switch")?"#splash-language-switch":"#external-modal",wl=t=>{t instanceof NodeList||t instanceof Array?t.forEach((t=>{Sl(t)})):Sl(t)},Sl=t=>{const e=(t=>{let e=decodeURI(t).trim().toLowerCase();return!(!e||e.startsWith("#")||e.startsWith("javascript:")||e.startsWith("data:")||e.startsWith("vbscript:"))&&t})(t.getAttribute("href"));if(!e)return;Object.values(vl).forEach((e=>{t.classList.contains(e)}));const i=window.location.hostname;El(t)||t.classList.add(i.includes("asteria")?vl.external:vl.external_man)},El=t=>{try{const e=new URL(t.href,window.location.origin);return[window.location.hostname,"public.flourish.studio","man.com","www.man.com","asteria-im.com","www.asteria-im.com"].includes(e.hostname)||"mailto:"===e.protocol||"tel:"===e.protocol}catch(t){return!0}};function Cl(t){t.querySelectorAll("ul li.nav-item").forEach((t=>{var e;let i=null===(e=t.querySelector("a"))||void 0===e?void 0:e.getAttribute("href");if(!i)return void t.classList.add("d-none");if(!i.startsWith("#"))return void t.classList.remove("d-none");i="#"+CSS.escape(i.substring(1));const s=document.querySelector(i);s&&"none"!==window.getComputedStyle(s).display?t.classList.remove("d-none"):t.classList.add("d-none")}))}function Al(t){let e;Cl(t),window.addEventListener("resize",(()=>{window.clearTimeout(e),e=window.setTimeout((()=>{Cl(t)}),150)}))}let Tl={},kl=!1;function Ml(t){const e=t.getAttribute("data-component-id");e&&(t.dataset.tabClickBound||(t.addEventListener("click",(()=>{const i=t.id.replace("-mobile",""),s=document.querySelector('[tabs-container-id="'+e+'"] #'+i);s&&(s.click(),Ll(e),function(t){const e=document.querySelector("#collapseTabs-"+t);if(!e)return;new Os(e,{toggle:!1}).hide()}(e))})),t.dataset.tabClickBound="true"))}function Ol(t){const e=t.getAttribute("data-component-id");if(!e)return;const i=Tl[e]||{};if(!i.initialized){i.initialized=!0,Tl[e]=i;const s=document.querySelector('[tabs-container-id="'+e+'"]');if(s){const i=s.querySelector(".nav-link.active");let n=s.querySelector(".tab-pane.active");if(!i&&n){const t=n.getAttribute("id")+"-tab",e=s.querySelector("#"+t);e&&e.classList.add("active")}n=s.querySelector(".tab-pane.active"),n&&n.classList.add("show"),window.addEventListener("popstate",(()=>{kl=!0,Pl(document.querySelector('[tabs-container-id="'+e+'"]'),t.getAttribute("data-url-value")||""),Ll(e),kl=!1}))}s&&Pl(s,e),Ll(e),window.addEventListener("resize",(()=>{kl=!0,Ll(e),kl=!1}))}}function Ll(t){var e;const i=document.querySelector('[tabs-container-id="'+t+'"]');
45if(!i)return;i.querySelectorAll(".tab-pane").forEach((t=>t.classList.remove("active","show")));const s=i.querySelector(".nav-link.active"),n=i.querySelectorAll(".nav-link"),r=document.querySelectorAll("#collapseTabs-"+t+" .tab-link");if(n.forEach((t=>{t.dataset.tabClickBound||(t.addEventListener("click",(()=>{var e;kl||((t,e)=>{const i=new URL(window.location.href);i.searchParams.set(t,e),window.history.pushState({},"",i.toString())})("tab",(e=t.getAttribute("data-url-value"))?encodeURIComponent(e.replace(/[^a-zA-Z0-9-_]/g,"")):"")})),t.dataset.tabClickBound="true")})),r.forEach((t=>{const e=t.querySelector("span");e&&e.classList.remove("fw-600","text-primary")})),s){const n=null===(e=s.textContent)||void 0===e?void 0:e.trim(),r=s.getAttribute("id"),o=s.getAttribute("data-bs-target");if(o){const t=i.querySelector(o);t&&t.classList.add("active","show")}if(n&&r){_l(n,t);const e=document.querySelector("#"+r+"-mobile");e&&function(t,e){document.querySelectorAll("#collapseTabs-"+e+" .tab-link span").forEach((t=>t.classList.remove("fw-600","text-primary")));const i=t.querySelector("span");i&&i.classList.add("fw-600","text-primary")}(e,t)}}else{const e=document.querySelector("#headingTabs-"+t+" .accordion-button");e&&(e.textContent="");const s=i.querySelector(".tab-pane.active");s&&s.classList.add("show")}}function _l(t,e){const i=document.querySelector("#headingTabs-"+e+" .accordion-button");if(i){i.textContent="";const e=document.createElement("span");e.className="pe-4",e.textContent=t,i.appendChild(e),i.ariaLabel=t}}function Pl(t,e){var i;const s=(n="tab",new URLSearchParams(window.location.search).get(n));var n;if(s){const n=function(t,e){return t.querySelector(`[data-url-value="${e}"]`)}(t,s);if(n){n.click(),Ll(e);const t=null===(i=n.textContent)||void 0===i?void 0:i.trim();t&&_l(t,e)}}}const Dl=(t,e)=>{let i,s;return function(){const n=this,r=arguments;s?(clearTimeout(i),i=setTimeout((function(){Date.now()-s>=e&&(t.apply(n,r),s=Date.now())}),e-(Date.now()-s))):(t.apply(n,r),s=Date.now())}},Il=".section-content",Bl=(t,e)=>{var i;return null===(i=t.querySelector(`.pixel-pattern--${e}[data-pixel-id="${t.getAttribute("data-pixel-id")}"]`))||void 0===i?void 0:i.querySelector(`.section-pixel-wrapper-content[data-pixel-id="${t.getAttribute("data-pixel-id")}`)},Nl=(t,e)=>t.querySelector(`.pixel-pattern--${e}[data-pixel-id="${t.getAttribute("data-pixel-id")}`),zl=t=>null==t?void 0:t.querySelector(`.section-content[data-pixel-id="${t.getAttribute("data-pixel-id")}"`),Rl=t=>null===t?"":"none"!==window.getComputedStyle(t).display||'"section-pattern"'==window.getComputedStyle(t,"::before").getPropertyValue("content")?"section":'"pattern"'==window.getComputedStyle(t,"::before").getPropertyValue("content")?"full":"";function Fl(t){const e=Nl(t,"desktop"),i=Nl(t,"laptop"),s=Nl(t,"tablet"),n=Nl(t,"mobile"),r=Bl(t,"desktop"),o=Bl(t,"laptop"),a=Bl(t,"tablet"),l=Bl(t,"mobile"),h=zl(r),c=zl(o),d=zl(a),u=zl(l),p=h||c||d||u;if(!p)return;const f=(t,e)=>{p&&t&&([r,o,a,l].forEach((t=>{var e;null===(e=null==t?void 0:t.querySelector(Il))||void 0===e||e.remove()})),t.appendChild(p),null!=e&&e.length>0&&Array.from(Array(e.length).keys()).forEach((t=>{const i=e[t];p.setAttribute(i.name,i.value)})))},g=()=>{switch((()=>{const t={desktop:Rl(e),laptop:Rl(i),tablet:Rl(s),mobile:Rl(n)};if(Object.values(t).includes("section")){if("section"===t.desktop)return"desktop";if("section"===t.laptop)return"laptop";if("section"===t.tablet)return"tablet";if("section"===t.mobile)return"mobile"}else{if("full"===t.desktop)return"desktop";if("full"===t.laptop)return"laptop";if("full"===t.tablet)return"tablet";if("full"===t.mobile)return"mobile"}return"desktop"})()){case"desktop":f(r,null==h?void 0:h.attributes);break;case"laptop":f(o,null==c?void 0:c.attributes);break;case"tablet":f(a,null==d?void 0:d.attributes);break;default:f(l,null==u?void 0:u.attributes)}},m=()=>{setTimeout((()=>{document.activeElement&&document.activeElement!==document.body||g()}),1e3)};window.addEventListener("resize",Dl(m,500)),g();const v=()=>{requestAnimationFrame((()=>{g()}))},b=document.querySelectorAll(".nav .nav-item");b.forEach((t=>{t.addEventListener("click",v)})),window.addEventListener("unload",(()=>{window.removeEventListener("resize",m),b.forEach((t=>{t.removeEventListener("click",v)}))}
45))}function Hl({swiper:t,extendParams:e,on:i}){e([]);const s=t=>{t&&void 0===t.slides||0===t.slides.length||(t.slides.length>1&&t.slidesPerViewDynamic()>1&&!1===t.isEnd?t.el.style.setProperty("--fade-width",String(Math.floor(1.01*t.slides[0].clientWidth))+"px"):t.el.style.setProperty("--fade-width","0px"))};[{event:"init",callback:s},{event:"resize",callback:s},{event:"fromEdge",callback:s},{event:"reachEnd",callback:()=>t.el.style.setProperty("--fade-width","0px")}].forEach((({event:e,callback:s})=>{i(e,((...e)=>{s(t,...e)}))}))}function Wl({swiper:t,on:e}){const i=()=>{const e=t.el;if(!e)return;const i=window.innerWidth,s=wa,n=i>=xa;if(!("true"===e.getAttribute("data-slides-center-insufficient")))return t.params.width=void 0,t.el.style.removeProperty("width"),void t.update();if(!n)return t.params.width=void 0,t.el.style.removeProperty("width"),void t.update();let r,o;i>=s?(r=Number(e.getAttribute("data-slides-lg"))||0,o=Number(e.getAttribute("data-space-between-lg"))||0):(r=Number(e.getAttribute("data-slides-md"))||0,o=Number(e.getAttribute("data-space-between-md"))||0);const a=e.querySelector(".swiper-wrapper .swiper-slide"),l=a?Math.round(a.getBoundingClientRect().width):0;if(l>0&&r>0){const e=Math.round(l*r+o*(r-1));t.params.width=e,t.el.style.width=e+"px",t.update()}};e("init",i),e("resize",i),e("observerUpdate",i),e("imagesReady",i)}function ql(t){var e;const i=Number(t.getAttribute("data-slides-md")),s=Number(t.getAttribute("data-slides-lg")),n="true"===t.getAttribute("data-slides-center-insufficient"),r=t.getAttribute("data-small-step"),o=null!==(e=t.getAttribute("data-component-id"))&&void 0!==e?e:"";new it(t,{slidesPerView:s>0?s:3,freeMode:{enabled:!0,sticky:!0,momentumRatio:.4},noSwiping:!0,centerInsufficientSlides:n,noSwipingSelector:"[data-pb-component-id]",modules:n?[Hl,Wl]:[Hl],fadeEffect:{crossFade:!0},edgeSwipeDetection:!0,navigation:{nextEl:'[data-component-id="'+o+'"][data-swiper-slide="next"]',prevEl:'[data-component-id="'+o+'"][data-swiper-slide="prev"]'},breakpoints:{0:{slidesPerView:1,centeredSlides:!0,spaceBetween:Number(t.getAttribute("data-space-between-sm")),slidesPerGroup:1},[xa]:{slidesPerView:i,centeredSlides:!1,spaceBetween:Number(t.getAttribute("data-space-between-md")),slidesPerGroup:r?i-1:i},[wa]:{slidesPerView:s,centeredSlides:!1,spaceBetween:Number(t.getAttribute("data-space-between-lg")),slidesPerGroup:r?s-1:s}}})}class $l{constructor(t){var e,i;this.accordionElement=t,this.accordionBody=t.querySelector(".accordion-body"),this.collapseElement=t.querySelector(".accordion-collapse"),this.buttonElement=t.querySelector(".accordion-button"),this.defaultCollapseState="true"===t.getAttribute("data-default-collapse"),this.previousIsLargeScreen=window.innerWidth>=xa,this.sectionSpacers=null!==(i=null===(e=t.parentElement)||void 0===e?void 0:e.getAttribute("data-spacers"))&&void 0!==i?i:"",this.forceOpenInHash=this.hashMatches(),this.init()}init(){this.toggleAccordion(),window.addEventListener("resize",(()=>this.toggleAccordion()))}toggleAccordion(){const t=window.innerWidth>=xa;null==this.accordionElement.getAttribute("data-current-mode")&&this.updateAccordionState(t),t!==this.previousIsLargeScreen&&(this.updateAccordionState(t),this.previousIsLargeScreen=t)}updateAccordionState(t){t?(this.setAccordionState(!0,!0),this.accordionElement.setAttribute("data-current-mode","desktop"),this.addSpacingClasses(this.accordionElement.parentElement),this.removeSpacingClasses(this.accordionBody)):(this.forceOpenInHash?(this.buttonElement.classList.remove("collapsed"),this.setAccordionState(!0,!1),this.forceOpenInHash=!1):this.defaultCollapseState?(this.buttonElement.classList.remove("collapsed"),this.setAccordionState(!0,!1)):(this.buttonElement.classList.add("collapsed"),this.setAccordionState(!1,!1)),this.accordionElement.setAttribute("data-current-mode","mobile"),this.removeSpacingClasses(this.accordionElement.parentElement),this.addSpacingClasses(this.accordionBody))}setAccordionState(t,e){t?(this.collapseElement.classList.add("show"),this.buttonElement.setAttribute("aria-expanded","true")):(this.collapseElement.classList.remove("show"),this.buttonElement.setAttribute("aria-expanded","fal
45se")),e?this.buttonElement.setAttribute("disabled","true"):this.buttonElement.removeAttribute("disabled")}removeSpacingClasses(t){""!==this.sectionSpacers&&this.sectionSpacers.split(" ").forEach((e=>{t.classList.remove(e)}))}addSpacingClasses(t){""!==this.sectionSpacers&&this.sectionSpacers.split(" ").forEach((e=>{t.classList.add(e)}))}hashMatches(){var t,e,i;const s=window.location.hash.substring(1);return""!==s&&(this.accordionElement.id===s||((null===(t=this.accordionElement.parentElement)||void 0===t?void 0:t.id)===s||(null===(i=null===(e=this.accordionElement.parentElement)||void 0===e?void 0:e.parentElement)||void 0===i?void 0:i.id)===s))}}const jl=t=>{new $l(t)},Gl="#disclosure-decline-button",Vl="#disclosure-accept-button",Xl="prev_page";let Yl=!1,Ul=null,Kl=0;const Zl=()=>window.sessionStorage.getItem(Xl),Ql=()=>{const t=document.querySelector(Vl);t&&(t.disabled=!1),!0!==Yl?(clearInterval(Ul),Ul=setInterval((()=>{Kl>100&&(Kl=0,clearInterval(Ul)),Kl++;const t=document.querySelector(Vl),e=document.querySelector("#disclosureText"),i=document.querySelector(".modal-loader"),s=document.querySelector(".must-read");if(null!==t)return e&&!i&&s?(t.disabled=!0,(()=>{const t=document.getElementById("disclosureText"),e=document.querySelector(Vl);if(t&&e){const i=s=>{const n=s.target;Math.abs(n.scrollHeight-n.clientHeight-n.scrollTop)<=1&&(e.disabled=!1,t.removeEventListener("scroll",i),Yl=!0)};t.addEventListener("scroll",i)}})(),void clearTimeout(Ul)):void(!0===t.disabled&&(t.disabled=!1))}),250)):clearInterval(Ul)},Jl=()=>{if(document.querySelector("#login-register-disclosure")){document.querySelectorAll(".disclosure .close").forEach((t=>{t.addEventListener("click",(()=>{window.location.href=Zl()!==window.location.href?Zl():document.querySelector(Gl).href}))}))}else{var t;document.querySelector(Gl)?(t=Gl,aa(".disclosure .close").on("click",(()=>{aa(t).trigger("click")})),document.querySelector('#disclosure-accept-form input[name="prev_page"]').value=Zl()):window.addEventListener("beforeunload",(t=>{window.sessionStorage.setItem(Xl,window.location.href)})),document.addEventListener("DOMContentLoaded",(()=>{Ql()})),window.onresize=Ql,Yl=!1,Ql()}},th=t=>{var e,i;const s=(t,e)=>{var i;const s=document.createElement("div");s.classList.add(e),null===(i=t.parentNode)||void 0===i||i.insertBefore(s,t),s.appendChild(t)};(null===(e=t.parentElement)||void 0===e?void 0:e.classList.contains("table-responsive"))?(s(t.parentElement,"scroll-wrap"),s(t.parentElement.parentElement,"table-shadow")):(s(t,"table-responsive"),s(t.parentElement,"scroll-wrap"),s(null===(i=t.parentElement)||void 0===i?void 0:i.parentElement,"table-shadow"));const n=t.closest(".table-shadow"),r=t.closest(".table-responsive"),o=()=>{const t=r.scrollLeft,e=r.scrollWidth,i=r.clientWidth;t>0?n.classList.add("show-left-shadow"):n.classList.remove("show-left-shadow"),t+i<e?n.classList.add("show-right-shadow"):n.classList.remove("show-right-shadow")},a=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(o(),a.disconnect())}))}));a.observe(r),r.addEventListener("scroll",o),document.body.getAttribute("data-table-scroll")||(window.addEventListener("resize",(()=>{a.observe(r)})),document.body.setAttribute("data-table-scroll","true"))},eh="__internalLinkLoaderInit__";let ih=null;function sh(t,e){var i;if(!t.href)return!0;if(e.defaultPrevented)return!0;if(function(t){return t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button}(e))return!0;const s=new URL(t.href,window.location.href);if(function(t){const e=t.protocol.toLowerCase();return"http:"!==e&&"https:"!==e}(s))return!0;if(t.target&&"_blank"===t.target.toLowerCase())return!0;if((t.rel||"").toLowerCase().split(/\s+/).includes("external"))return!0;if(t.classList.contains("use-ajax")||t.hasAttribute("data-ajax"))return!0;const n=(null===(i=t.getAttribute("href"))||void 0===i?void 0:i.trim().toLowerCase())||"",r=n.replace(/[\x00-\x20]+/g,"");return!!(r.startsWith("#")||r.startsWith("mailto:")||r.startsWith("tel:")||r.startsWith("javascript:"))||(!(!n.startsWith("?")&&!n.startsWith("&"))||(!(!t.hasAttribute("data-bs-toggle")&&!t.hasAttribute("data-toggle"))||(!!t.hasAttribute("download")||(!!t.hasAttribute("data-toolbar-tray")||(!!t.hasAttribute("data-no-loader")||(!!t.hasAttribute("data-clicktocopy")||(!(!t.hasAttribute("disabled")&&"true"!==t.getAttribute("aria-disabled"))||(!!t.hasAttribute("data-pager-link")||(!!function(t){const e=t.pathname.toLowerCase();return[".pdf",".zip",".gz",".rar",".7z",".doc",".docx",".xls",".xlsx",".ppt",".pptx"].some((t=>e.endsWith(t)))}(s)||(s.origin!==window.location.origin||!!function(t,e){var i;return!!(null===(i=t.getAttribute("href"))||void 0===i?void 0:i.trim().startsWith("#"))||!!(e.origin===location.origin&&e.pathname===location.pathname&&e.hash&&e.hash.length>1)}(t,s)))))))))))}function nh(){const t=document.querySelector(".loader--between-pages");t&&(t.classList.add("is-visible"),t.style.removeProperty("display"),t.style.removeProperty("opacity"),t.style.removeProperty("visibility"))}function rh(){const t=document.querySelector(".loader--between-pages");t&&(t.style.setProperty("display","none"),t.classList.remove("is-visible"))}
45function oh(t,e){(null==ih?void 0:ih.cancelTimer)&&window.clearTimeout(ih.cancelTimer),ih={startedAt:Date.now(),fromHref:t,toHref:e},ih.cancelTimer=window.setTimeout((()=>{ih&&(rh(),ih=null)}),1e4)}function ah(){ih&&(ih.cancelTimer&&window.clearTimeout(ih.cancelTimer),rh(),ih=null)}const lh=t=>{var e,i,s;const n=t.previousElementSibling;t.setAttribute("aria-label",null!==(s=null!==(e=null==n?void 0:n.textContent.trim())&&void 0!==e?e:null===(i=t.src.split("/").pop())||void 0===i?void 0:i.split(".")[0].replace(/[-_]/g," "))&&void 0!==s?s:"")},hh=t=>{oa.set("CurrentPageFragment",t)},ch=()=>{hh(window.location.hash.substr(1)),window.addEventListener("hashchange",(t=>{hh(window.location.hash.substr(1))}))},dh=t=>{const e=()=>{let e=0;const i=t.querySelectorAll(":scope >.col");i.forEach((t=>{t.style.height="auto"})),i.forEach((t=>{const i=t.offsetHeight;i>e&&(e=i)})),e>0&&i.forEach((t=>{t.style.height=`${e}px`}))};window.addEventListener("resize",e),window.addEventListener("load",e);const i=t.closest(".accordion-collapse");i&&i.addEventListener("shown.bs.collapse",e),e()};function uh(t){const e=new Mn(t);t.querySelector("#page-builder-offcanvas-right-button").addEventListener("click",(t=>{t.currentTarget.closest("#page-builder-offcanvas-right").classList.contains("show")?e.hide():e.show()}))}function ph(t){const e=new Mn(t);t.querySelector("#page-builder-offcanvas-left-button").addEventListener("click",(t=>{t.currentTarget.closest("#page-builder-offcanvas-left").classList.contains("show")?e.hide():e.show()})),document.addEventListener("PageBuilderOpenQuickEditForm",(t=>e.show())),document.addEventListener("PageBuilderOpenQuickEditFormSave",(t=>e.hide())),document.addEventListener("PageBuilderCloseQuickEditForm",(t=>e.hide())),document.addEventListener("PageBuilderQuickEditFormLoaded",(e=>{setTimeout((()=>{const e=t.querySelectorAll(".triangle"),i={left:t.querySelector('[data-padding-select="left"]'),right:t.querySelector('[data-padding-select="right"]'),top:t.querySelector('[data-padding-select="top"]'),bottom:t.querySelector('[data-padding-select="bottom"]')};e.forEach((s=>{s.addEventListener("click",(()=>{e.forEach((t=>t.classList.remove("active"))),s.classList.add("active"),Object.values(i).forEach((t=>{t.classList.add("d-none")}));const n=s.getAttribute("data-direction");i[n]&&(i[n].classList.remove("d-none"),t.querySelector(".select-placeholder").classList.add("d-none"))}))}))}),500)}))}const fh="a[data-strategy-filter-item]",gh=t=>{const e=document.querySelectorAll(fh);t.querySelectorAll("select").forEach((t=>{null===e&&(t.disabled=!0),Array.from(t.options).forEach((e=>{e.value&&null===document.querySelector(fh+"[data-"+t.name+'="'+e.value+'"]')&&e.remove()})),t.addEventListener("change",(t=>{const i=t.target;e.forEach((t=>{var e,s;t.getAttribute("data-"+i.name)===i.value||""===i.value?(null===(e=t.parentElement)||void 0===e?void 0:e.classList.contains("col"))?t.parentElement.classList.remove("d-none"):t.classList.remove("d-none"):(null===(s=t.parentElement)||void 0===s?void 0:s.classList.contains("col"))?t.parentElement.classList.add("d-none"):t.classList.add("d-none")}))}))}))};function mh(){const t=document.querySelectorAll(".side-panel");if(!t.length)return;const e=document.querySelector(".app-header"),i=document.querySelector(".digital-navigation"),s=document.querySelector("#toolbar-bar");let n=150,r=e;i&&zr(i)&&(r=i);let o=r.getBoundingClientRect().bottom;s&&zr(s)&&zr(i)&&o<s.getBoundingClientRect().bottom&&(o=s.getBoundingClientRect().bottom),n+=o,t.forEach((t=>{t.style.marginTop=`${n}px`}))}var vh="tippy-content",bh="tippy-backdrop",yh="tippy-arrow",xh="tippy-svg-arrow",wh={passive:!0,capture:!0},Sh=function(){return document.body};function Eh(t,e,i){if(Array.isArray(t)){var s=t[e];return s??(Array.isArray(i)?i[e]:i)}return t}function Ch(t,e){var i={}.toString.call(t);return 0===i.indexOf("[object")&&i.indexOf(e+"]")>-1}function Ah(t,e){return"function"==typeof t?t.apply(void 0,e):t}function Th(t,e){return 0===e?t:function(s){clearTimeout(i),i=setTimeout((function(){t(s)}),e)};var i}function kh(t){return[].concat(t)}function Mh(t,e){-1===t.indexOf(e)&&t.push(e)}function Oh(t){return t.split("-")[0]}function Lh(t){return[].slice.call(t)}function _h(t){return Object.keys(t).reduce((function(e,i){return void 0!==t[i]&&(e[i]=t[i]),e}),{})}function Ph(){return document.createElement("div")}function Dh(t){return["Element","Fragment"].some((function(e){return Ch(t,e)}))}function Ih(t){return Ch(t,"MouseEvent")}function Bh(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Nh(t){return Dh(t)?[t]:function(t){return Ch(t,"NodeList")}(t)?Lh(t):Array.isArray(t)?t:Lh(document.querySelectorAll(t))}function zh(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Rh(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function Fh(t){var e,i=kh(t)[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function Hh(t,e,i){var s=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[s](e,i)}))}function Wh(t,e){for(var i=e;i;){var s;if(t.contains(i))return!0;
vendor: 4,513 bytes, line 45
45i=null==i.getRootNode||null==(s=i.getRootNode())?void 0:s.host}return!1}var qh={isTouch:!1},$h=0;function jh(){qh.isTouch||(qh.isTouch=!0,window.performance&&document.addEventListener("mousemove",Gh))}function Gh(){var t=performance.now();t-$h<20&&(qh.isTouch=!1,document.removeEventListener("mousemove",Gh)),$h=t}function Vh(){var t=document.activeElement;if(Bh(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var Xh=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Yh={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Uh=Object.assign({appendTo:Sh,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Yh,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Kh=Object.keys(Uh);function Zh(t){var e=(t.plugins||[]).reduce((function(e,i){var s,n=i.name,r=i.defaultValue;n&&(e[n]=void 0!==t[n]?t[n]:null!=(s=Uh[n])?s:r);return e}),{});return Object.assign({},t,e)}function Qh(t,e){var i=Object.assign({},e,{content:Ah(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Zh(Object.assign({},Uh,{plugins:e}))):Kh).reduce((function(e,i){var s=(t.getAttribute("data-tippy-"+i)||"").trim();if(!s)return e;if("content"===i)e[i]=s;else try{e[i]=JSON.parse(s)}catch(t){e[i]=s}return e}),{})}(t,e.plugins));return i.aria=Object.assign({},Uh.aria,i.aria),i.aria={expanded:"auto"===i.aria.expanded?e.interactive:i.aria.expanded,content:"auto"===i.aria.content?e.interactive?null:"describedby":i.aria.content},i}function Jh(t,e){t.innerHTML=e}function tc(t){var e=Ph();return!0===t?e.className=yh:(e.className=xh,Dh(t)?e.appendChild(t):Jh(e,t)),e}function ec(t,e){Dh(e.content)?(Jh(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?Jh(t,e.content):t.textContent=e.content)}function ic(t){var e=t.firstElementChild,i=Lh(e.children);return{box:e,content:i.find((function(t){return t.classList.contains(vh)})),arrow:i.find((function(t){return t.classList.contains(yh)||t.classList.contains(xh)})),backdrop:i.find((function(t){return t.classList.contains(bh)}))}}function sc(t){var e=Ph(),i=Ph();i.className="tippy-box",i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var s=Ph();function n(i,s){var n=ic(e),r=n.box,o=n.content,a=n.arrow;s.theme?r.setAttribute("data-theme",s.theme):r.removeAttribute("data-theme"),"string"==typeof s.animation?r.setAttribute("data-animation",s.animation):r.removeAttribute("data-animation"),s.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof s.maxWidth?s.maxWidth+"px":s.maxWidth,s.role?r.setAttribute("role",s.role):r.removeAttribute("role"),i.content===s.content&&i.allowHTML===s.allowHTML||ec(o,t.props),s.arrow?a?i.arrow!==s.arrow&&(r.removeChild(a),r.appendChild(tc(s.arrow))):r.appendChild(tc(s.arrow)):a&&r.removeChild(a)}return s.className=vh,s.setAttribute("data-state","hidden"),ec(s,t.props),e.appendChild(i),i.appendChild(s),n(t.props,t.props),{popper:e,onUpdate:n}}sc.$$tippy=!0;var nc=1,rc=[],oc=[];function ac(t,e){var i,s,n,r,o,a,l,h,c=Qh(t,Object.assign({},Uh,Zh(_h(e)))),d=!1,u=!1,p=!1,f=!1,g=[],m=Th(X,c.interactiveDebounce),v=nc++,b=(h=c.plugins).filter((function(t,e){return h.indexOf(t)===e})),y={id:v,reference:t,popper:Ph(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(s),cancelAnimationFrame(n)},setProps:function(e){0;if(y.state.isDestroyed)return;D("onBeforeUpdate",[y,e]),G();var i=y.props,s=Qh(t,Object.assign({},i,_h(e),{ignoreAttributes:!0}));y.props=s,j(),i.interactiveDebounce!==s.interactiveDebounce&&(N(),m=Th(X,s.interactiveDebounce));i.triggerTarget&&!s.triggerTarget?kh(i.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):s.triggerTarget&&t.removeAttribute("aria-expanded");B(),P(),S&&S(i,s);
vendor: 8,422 bytes, line 45
45y.popperInstance&&(Z(),J().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));D("onAfterUpdate",[y,e])},setContent:function(t){y.setProps({content:t})},show:function(){0;var t=y.state.isVisible,e=y.state.isDestroyed,i=!y.state.isEnabled,s=qh.isTouch&&!y.props.touch,n=Eh(y.props.duration,0,Uh.duration);if(t||e||i||s)return;if(M().hasAttribute("disabled"))return;if(D("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,k()&&(w.style.visibility="visible");P(),H(),y.state.isMounted||(w.style.transition="none");if(k()){var r=L(),o=r.box,l=r.content;zh([o,l],0)}a=function(){var t;if(y.state.isVisible&&!f){if(f=!0,w.offsetHeight,w.style.transition=y.props.moveTransition,k()&&y.props.animation){var e=L(),i=e.box,s=e.content;zh([i,s],n),Rh([i,s],"visible")}I(),B(),Mh(oc,y),null==(t=y.popperInstance)||t.forceUpdate(),D("onMount",[y]),y.props.animation&&k()&&function(t,e){q(t,e)}(n,(function(){y.state.isShown=!0,D("onShown",[y])}))}},function(){var t,e=y.props.appendTo,i=M();t=y.props.interactive&&e===Sh||"parent"===e?i.parentNode:Ah(e,[i]);t.contains(w)||t.appendChild(w);y.state.isMounted=!0,Z(),!1}()},hide:function(){0;var t=!y.state.isVisible,e=y.state.isDestroyed,i=!y.state.isEnabled,s=Eh(y.props.duration,1,Uh.duration);if(t||e||i)return;if(D("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,f=!1,d=!1,k()&&(w.style.visibility="hidden");if(N(),W(),P(!0),k()){var n=L(),r=n.box,o=n.content;y.props.animation&&(zh([r,o],s),Rh([r,o],"hidden"))}I(),B(),y.props.animation?k()&&function(t,e){q(t,(function(){!y.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&e()}))}(s,y.unmount):y.unmount()},hideWithInteractivity:function(t){0;O().addEventListener("mousemove",m),Mh(rc,m),m(t)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;Q(),J().forEach((function(t){t._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);oc=oc.filter((function(t){return t!==y})),y.state.isMounted=!1,D("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),G(),delete t._tippy,y.state.isDestroyed=!0,D("onDestroy",[y])}};if(!c.render)return y;var x=c.render(y),w=x.popper,S=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+y.id,y.popper=w,t._tippy=y,w._tippy=y;var E=b.map((function(t){return t.fn(y)})),C=t.hasAttribute("aria-expanded");return j(),B(),P(),D("onCreate",[y]),c.showOnCreate&&tt(),w.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",m)})),y;function A(){var t=y.props.touch;return Array.isArray(t)?t:[t,0]}function T(){return"hold"===A()[0]}function k(){var t;return!(null==(t=y.props.render)||!t.$$tippy)}function M(){return l||t}function O(){var t=M().parentNode;return t?Fh(t):document}function L(){return ic(w)}function _(t){return y.state.isMounted&&!y.state.isVisible||qh.isTouch||r&&"focus"===r.type?0:Eh(y.props.delay,t?0:1,Uh.delay)}function P(t){void 0===t&&(t=!1),w.style.pointerEvents=y.props.interactive&&!t?"":"none",w.style.zIndex=""+y.props.zIndex}function D(t,e,i){var s;(void 0===i&&(i=!0),E.forEach((function(i){i[t]&&i[t].apply(i,e)})),i)&&(s=y.props)[t].apply(s,e)}function I(){var e=y.props.aria;if(e.content){var i="aria-"+e.content,s=w.id;kh(y.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(i);if(y.state.isVisible)t.setAttribute(i,e?e+" "+s:s);else{var n=e&&e.replace(s,"").trim();n?t.setAttribute(i,n):t.removeAttribute(i)}}))}}function B(){!C&&y.props.aria.expanded&&kh(y.props.triggerTarget||t).forEach((function(t){y.props.interactive?t.setAttribute("aria-expanded",y.state.isVisible&&t===M()?"true":"false"):t.removeAttribute("aria-expanded")}))}function N(){O().removeEventListener("mousemove",m),rc=rc.filter((function(t){return t!==m}))}function z(e){if(!qh.isTouch||!p&&"mousedown"!==e.type){var i=e.composedPath&&e.composedPath()[0]||e.target;if(!y.props.interactive||!Wh(w,i)){if(kh(y.props.triggerTarget||t).some((function(t){return Wh(t,i)}))){if(qh.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[y,e]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),u=!0,setTimeout((function(){u=!1})),y.state.isMounted||W())}}}function R(){p=!0}function F(){p=!1}function H(){var t=O();t.addEventListener("mousedown",z,!0),t.addEventListener("touchend",z,wh),t.addEventListener("touchstart",F,wh),t.addEventListener("touchmove",R,wh)}function W(){var t=O();t.removeEventListener("mousedown",z,!0),t.removeEventListener("touchend",z,wh),t.removeEventListener("touchstart",F,wh),t.removeEventListener("touchmove",R,wh)}function q(t,e){var i=L().box;function s(t){t.target===i&&(Hh(i,"remove",s),e())}if(0===t)return e();Hh(i,"remove",o),Hh(i,"add",s),o=s}function $(e,i,s){void 0===s&&(s=!1),kh(y.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,i,s),g.push({node:t,eventType:e,handler:i,options:s})}))}function j(){var t;T()&&($("touchstart",V,{passive:!0}),$("touchend",Y,{passive:!0})),(t=y.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch($(t,V),t){case"mouseenter":$("mouseleave",Y);break;case"focus":$(Xh?"focusout":"blur",U);break;case"focusin":$("focusout",U)}}))}function G(){g.forEach((function(t){var e=t.node,i=t.eventType,s=t.handler,n=t.options;e.removeEventListener(i,s,n)})),g=[]}function V(t){var e,i=!1;if(y.state.isEnabled&&!K(t)&&!u){var s="focus"===(null==(e=r)?void 0:e.type);r=t,l=t.currentTarget,B(),!y.state.isVisible&&Ih(t)&&rc.forEach((function(e){return e(t)})),"click"===t.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?i=!0:tt(t),"click"===t.type&&(d=!i),i&&!s&&et(t)}}function X(t){var e=t.target,i=M().contains(e)||w.contains(e);if("mousemove"!==t.type||!i){var s=J().concat(w).map((function(t){var e,i=null==(e=t._tippy.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:c}:null})).filter(Boolean);(function(t,e){var i=e.clientX,s=e.clientY;return t.every((function(t){var e=t.popperRect,n=t.popperState,r=t.props.interactiveBorder,o=Oh(n.placement),a=n.modifiersData.offset;if(!a)return!0;var l="bottom"===o?a.top.y:0,h="top"===o?a.bottom.y:0,c="right"===o?a.left.x:0,d="left"===o?a.right.x:0,u=e.top-s+l>r,p=s-e.bottom-h>r,f=e.left-i+c>r,g=i-e.right-d>r;return u||p||f||g}))})(s,t)&&(N(),et(t))}}function Y(t){K(t)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(t):et(t))}function U(t){y.props.trigger.indexOf("focusin")<0&&t.target!==M()||y.props.interactive&&t.relatedTarget&&w.contains(t.relatedTarget)||et(t)}function K(t){return!!qh.isTouch&&T()!==t.type.indexOf("touch")>=0}function Z(){Q();var e=y.props,i=e.popperOptions,s=e.placement,n=e.offset,r=e.getReferenceClientRect,o=e.moveTransition,l=k()?ic(w).arrow:null,h=r?{getBoundingClientRect:r,contextElement:r.contextElement||M()}:t,c={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var i=L().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},d=[{name:"offset",options:{offset:n}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},c];k()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==i?void 0:i.modifiers)||[]),y.popperInstance=di(h,w,Object.assign({},i,{placement:s,onFirstUpdate:a,modifiers:d}))}function Q(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function J(){return Lh(w.querySelectorAll("[data-tippy-root]"))}function tt(t){y.clearDelayTimeouts(),t&&D("onTrigger",[y,t]),H();var e=_(!0),s=A(),n=s[0],r=s[1];qh.isTouch&&"hold"===n&&r&&(e=r),e?i=setTimeout((function(){y.show()}),e):y.show()}function et(t){if(y.clearDelayTimeouts(),D("onUntrigger",[y,t]),y.state.isVisible){if(!(y.props.trigger.indexOf("mou
45seenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&d)){var e=_(!1);e?s=setTimeout((function(){y.state.isVisible&&y.hide()}),e):n=requestAnimationFrame((function(){y.hide()}))}}else W()}}function lc(t,e){void 0===e&&(e={});var i=Uh.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",jh,wh),window.addEventListener("blur",Vh);var s=Object.assign({},e,{plugins:i}),n=Nh(t).reduce((function(t,e){var i=e&&ac(e,s);return i&&t.push(i),t}),[]);return Dh(t)?n[0]:n}lc.defaultProps=Uh,lc.setDefaultProps=function(t){Object.keys(t).forEach((function(e){Uh[e]=t[e]}))},lc.currentInput=qh;Object.assign({},de,{effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow)}});lc.setDefaultProps({render:sc});const hc=lc;function cc(t){const e=t.getAttribute("data-title")||t.getAttribute("title")||"",i=e.length>300;hc(t,{allowHTML:!0,interactive:!0,animation:"shift-away",appendTo:document.body,theme:t.getAttribute("data-tippy-toggle")||"",content:e,arrow:'<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',maxWidth:i?500:350,placement:window.innerWidth>992?"top-start":"right",offset:({placement:t,popper:e,reference:i})=>"bottom-start"===t||"top-start"===t?[-20,10]:[0,10],popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top","left","bottom"],rootBoundary:"viewport"}},{name:"preventOverflow",options:{altAxis:!0,rootBoundary:"viewport",padding:8}}]}})}class dc{initModal(t){t&&(this.attachModalEventListeners(t),this.checkCountryChangedCookie(t))}initForm(t){t&&(this.attachCardHandlers(t),this.attachRegionChangeHandlers(t),this.attachRegionTabHandlers(t),this.hideUnselectedSlimSelects(t),this.makeUpdateSelectedCountryGlobal(),this.attachDisclosureButtonHandlers(t))}updateSelectedCountryFromStates(t){const e=document.querySelector(".mangroup-digital-attestation-form");if(!e)return;const i=e.querySelector('input[name="selected_country"]');i&&t&&(i.value=t)}makeUpdateSelectedCountryGlobal(){window.updateSelectedCountryFromStates=this.updateSelectedCountryFromStates.bind(this)}checkCountryChangedCookie(t){if(document.cookie.split(";").find((t=>t.trim().startsWith("country_changed=")))){yn.getOrCreateInstance(t).show(),document.cookie="country_changed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}}getSelectedCountry(t){return t.getAttribute("data-country-selector")}getCountrySelects(t){return t.querySelectorAll("#region-country-select select[data-country-selector]")}getRegionSelects(t){return t.querySelectorAll("select.region-select")}getSlimSelectMain(t){return t.closest(".ss-main")||t.parentElement}removeBodyScroll(){const t=document.querySelector("body");t&&t.classList.add("no-scroll")}addBodyScroll(){const t=document.querySelector("body");t&&t.classList.remove("no-scroll")}attachModalEventListeners(t){t.addEventListener("shown.bs.modal",(()=>{this.removeBodyScroll()})),t.addEventListener("hidden.bs.modal",(()=>{this.addBodyScroll(),this.resetModalForm()}))}attachCardHandlers(t){t.querySelectorAll(".attestation-card").forEach((e=>{const i=()=>{t.querySelectorAll(".attestation-card").forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-pressed","false")})),e.classList.add("active"),e.setAttribute("aria-pressed","true");const i=e.getAttribute("data-role-id").trim();if(!i)return;const s=t.querySelector(".investor-type-select");if(!s)return;const n=s.slim;n&&s.value!==i&&n.setSelected(i)};e.addEventListener("click",i),e.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),i())}))}))}attachRegionChangeHandlers(t){this.getRegionSelects(t).forEach((e=>{e.addEventListener("change",(()=>{this.updateCountrySelectVisibility(e.value,t),this.updateInvestorTypeVisibility(e.value,t)}))}))}attachRegionTabHandlers(t){t.querySelectorAll('button[id^="region-country-tab-"]').forEach((e=>{const i=()=>{const i=e.getAttribute("id");if(i){const e=i.replace("region-country-tab-","");this.updateTabPanelAriaHidden(e,t),this.updateMobileCountrySelectVisibility(e,t),this.updateInvestorTypeVisibility(e,t)}};e.addEventListener("click",i),e.addEventListener("focus",i)}))}updateTabPanelAriaHidden(t,e){e.querySelectorAll('[id^="region-country-select-"]').forEach((e=>{const i=e.getAttribute("id");if(i){const s=i.replace("region-country-select-","")===t;e.setAttribute("aria-hidden",s?"false":"true")}}))}updateCountrySelectVisibility(t,e){this.getCountrySelects(e).forEach((e=>{const i=this.getSelectedCountry(e),s=this.getSlimSelectMain(e);i&&s&&(i===`country-select-${t}`?(s.style.display="",s.setAttribute("aria-hidden","false")):(s.style.display="none",s.setAttribute("aria-hidden","true")))}))}updateMobileCountrySelectVisibility(t,e){e.querySelectorAll('select[name^="country_mobile_"]').forEach((t=>{const e=this.getSlimSelectMain(t);e&&(e.style.display="none",e.setAttribute("aria-hidden","true"))}));const i=e.querySelector(`select[name="country_mobile_${t}"]`);if(i){const t=this.getSlimSelectMain(i);t&&(t.style.display="",t.setAttribute("aria-hidden","false"))}}hideUnselectedSlimSelects(t){this.getCountrySelects(t).forEach((t=>{const e=!(!t.value||""===t.value),i=this.getSlimSelectMain(t);i&&(i.style.display=e?"":"none",i.setAttribute("aria-hidden",e?"false":"true"))}))}updateInvestorTypeVisibility(t,e){const i=e.querySelector("#investor-description-wrapper");if(!i)return;const s=e.querySelector('input[name="selected_country"]'),n=((null==s?void 0:s.value)||"").trim(),r
45=e.querySelector(`select[name="country_${t}"]`),o=e.querySelector(`select[name="country_mobile_${t}"]`),a=((null==r?void 0:r.value)||"").trim(),l=((null==o?void 0:o.value)||"").trim(),h=!!n&&(a===n||l===n);i.style.display=h?"":"none",i.setAttribute("aria-hidden",h?"false":"true");const c=e.querySelector("#attestation-investor-description-wrapper");c&&(c.style.display=h?"":"none",c.setAttribute("aria-hidden",h?"false":"true"));const d=e.querySelector("#attestation-modal-footer");d&&(d.style.display=h?"":"none",d.setAttribute("aria-hidden",h?"false":"true"));const u=e.querySelector("#digital-attestation-remember-checkbox-wrapper");u&&(u.style.display=h?"":"none",u.setAttribute("aria-hidden",h?"false":"true"))}resetModalForm(){const t=document.getElementById("attestation");if(!t)return;const e=`/mangroup/attestation/fresh-form?provider=${t.dataset.provider||"attestation"}&action_url=${encodeURIComponent(window.location.pathname+window.location.search)}`;if("undefined"!=typeof Drupal&&Drupal.ajax){const t=document.querySelector("#attestation-container");if(!t)return;const i=document.createElement("div"),s=Math.random().toString(36).substring(2,10);i.setAttribute("id","attestation-placeholder-"+s),i.innerHTML=dc.LOADER_HTML,t.replaceChildren(i);Drupal.ajax({url:e,wrapper:i.getAttribute("id"),effect:"fade",progress:{type:"nprogress",message:Drupal.t("Loading...")},submit:{}}).execute().done((()=>{const t=document.querySelector(".mangroup-digital-attestation-form");t&&this.initForm(t)})).fail((t=>{}))}}attachDisclosureButtonHandlers(t){const e=()=>{const e=t.closest(".modal-content");if(!e)return;const i=e.querySelector(".modal-loader");i&&i.remove();const s=document.createElement("div");s.className="modal-loader",s.innerHTML=dc.LOADER_HTML,e.appendChild(s)},i=t.querySelector("#attestation-accept-button");i&&i.addEventListener("click",(t=>{e()}));const s=t.querySelector("#digital-attestation-decline-button");s&&!s.hasAttribute("data-bs-dismiss")&&s.addEventListener("click",e);const n=t.closest(".modal-content");if(n){const t=n.querySelector(".modal-close-block .btn-close");if(t&&!t.hasAttribute("data-bs-dismiss")){const i=t.getAttribute("data-withdrawal-url");i&&t.addEventListener("click",(t=>{t.preventDefault(),e(),setTimeout((()=>{const t=this.sanitizeWithdrawalUrl(i);t&&(window.location.href=t)}),10)}))}}}sanitizeWithdrawalUrl(t){try{const e=window.location.origin,i=new URL(t,e);return"http:"!==i.protocol&&"https:"!==i.protocol||i.origin!==e?null:i.href}catch(t){return null}}}dc.LOADER_HTML='\n    <div class="sk-cube-grid">\n      <div class="sk-cube sk-cube1"></div>\n      <div class="sk-cube sk-cube2"></div>\n      <div class="sk-cube sk-cube3"></div>\n      <div class="sk-cube sk-cube4"></div>\n      <div class="sk-cube sk-cube5"></div>\n      <div class="sk-cube sk-cube6"></div>\n      <div class="sk-cube sk-cube7"></div>\n      <div class="sk-cube sk-cube8"></div>\n    </div>\n  ';const uc=t=>{const e=t.closest(".digital-nav-auxiliary"),i=t.classList.contains("is-open"),s=t.querySelector(".nav__dropdown-menu");pc(e),i||(t.classList.add("is-open"),s&&fc(s,!1))},pc=t=>{t.querySelectorAll(".nav__item--dropdown.is-open").forEach((t=>{t.classList.remove("is-open");const e=t.querySelector(".nav__dropdown-menu");e&&fc(e,!0)}))},fc=(t,e)=>{t.querySelectorAll("a").forEach((t=>{e?(t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1")):(t.setAttribute("aria-hidden","false"),t.setAttribute("tabindex","0"))}))},gc=t=>{const e=t.classList.contains("digital-nav-auxiliary")?t:t.querySelector(".digital-nav-auxiliary");if(!e)return;e.querySelectorAll(".nav__item--dropdown .nav__link--chevron").forEach((t=>
45{const e=t.closest(".nav__item--dropdown"),i=e.querySelector(".nav__dropdown-menu");i&&fc(i,!0),t.addEventListener("click",(t=>{t.preventDefault(),uc(e)})),t.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),uc(e))}))})),document.addEventListener("click",(t=>{e.contains(t.target)||pc(e)}))};class mc{init(t){null!==t&&(this.form=t,this.attachDeepLinkHandlers())}openAttestationModal(){const t=document.getElementById("attestation");if(!t)return console.warn('DigitalAttestationPreselect: Modal element with id "attestation" not found'),!1;try{return yn.getOrCreateInstance(t).show(),!0}catch(t){return console.error("DigitalAttestationPreselect: Error opening modal",t),!1}}preselectRoleById(t){if(!this.form)return;const e=this.form.querySelector(".investor-type-select");if(e){const i=e.slim;i?i.setSelected(t):e.value!==t&&(e.value=t,e.dispatchEvent(new Event("change",{bubbles:!0})))}this.form.querySelectorAll(".attestation-card").forEach((t=>t.classList.remove("active")));const i=this.form.querySelector(`.attestation-card[data-role-id="${t}"]`);i&&i.classList.add("active")}tryPreselectWithRetry(t,e=10,i=100){(()=>{if(!this.form)return;const s=this.form.querySelector(".investor-type-select");!!s&&(!!s.slim||s.options.length>0)?this.preselectRoleById(t):e>0&&setTimeout((()=>this.tryPreselectWithRetry(t,e-1,i)),i)})()}extractRoleId(t){if("A"===t.tagName){const e=t.getAttribute("href");if(e&&e.startsWith("#role-"))return e.replace("#role-","").trim()}if(t.hasAttribute("data-role-id")){const e=t.getAttribute("data-role-id");return e?e.trim():null}return null}isValidRoleId(t){return t.length>0&&/^[a-zA-Z0-9_-]+$/.test(t)}attachDeepLinkHandlers(){document.addEventListener("click",(t=>{const e=t.target;if(!e)return;const i=e.closest('a[href^="#role-"], button[data-role-id], [data-role-id]');if(!i)return;const s=this.extractRoleId(i);s&&this.isValidRoleId(s)&&(t.preventDefault(),this.openAttestationModal()&&this.tryPreselectWithRetry(s))}));const t=()=>{const t=(window.location.hash||"").match(/^#role-(.+)$/);if(t&&t[1]){const e=t[1].trim();this.isValidRoleId(e)&&this.openAttestationModal()&&this.tryPreselectWithRetry(e)}};t(),window.addEventListener("hashchange",t)}}class vc{init(t){if(!t)return;const e=document.querySelector("#attestation-accept-button");if(!e)return;let i;this.addDisclaimerTextListener(t,e),window.addEventListener("resize",(()=>{i&&clearTimeout(i),i=window.setTimeout((()=>{this.addDisclaimerTextListener(t,e)}),200)})),this.checkIfScrolledToBottom(t,e)}addDisclaimerTextListener(t,e){const i=()=>this.checkIfScrolledToBottom(t,e);t.addEventListener("scroll",i,{passive:!0}),t.addEventListener("touchend",i,{passive:!0})}checkIfScrolledToBottom(t,e){t.scrollHeight-t.clientHeight-t.scrollTop<=5&&(e.disabled=!1,t.setAttribute("data-already-read","true"),t.removeEventListener("scroll",this.checkIfScrolledToBottom),t.removeEventListener("touchend",this.checkIfScrolledToBottom))}}const bc=t=>{const e=t.querySelector('input[type="submit"].button-submit'),i=t.querySelector('input[type="submit"].button-reset'),s=t.querySelectorAll('input[type="checkbox"]'),n=t.querySelectorAll(".selected-values"),r=t=>
45{null===t?n.forEach((t=>t.innerHTML="")):(o(t),n.forEach((e=>{var i;null===(i=e.querySelector(`.selected-${t.id}`))||void 0===i||i.remove()}))),n.forEach((t=>{0===t.children.length&&t.parentElement.classList.add("d-none")}))},o=t=>{const e=t.dataset.drupalSelector;e&&s.forEach((i=>{i.dataset.drupalSelector===e&&(i.checked=t.checked)}))},a=()=>{var e;null===(e=t.parentElement.querySelector(".views-content-content-blocks"))||void 0===e||e.classList.add("loading")};s.forEach((t=>{t.addEventListener("change",(i=>{var s;t.checked?(o(s=t),n.forEach((t=>{const i=s.labels[0],n=document.createElement("span");n.classList.add("selected-item",`selected-${s.id}`),n.textContent=i.textContent;const o=document.createElement("i");o.className="new-icon new-icon-close bg-primary hover-cursor-pointer medium",n.appendChild(o),n.setAttribute("role","button"),n.setAttribute("tabindex","0"),n.addEventListener("click",(()=>{s.checked=!1,r(s),null==e||e.dispatchEvent(new CustomEvent("click")),a()})),t.appendChild(n),t.parentElement.classList.remove("d-none")}))):r(t),null==e||e.dispatchEvent(new CustomEvent("click")),a()}))}));const l=t=>{t.forEach((e=>{e.addEventListener("show.bs.collapse",(()=>{t.forEach((t=>{t!==e&&(t.classList.contains("show")?Os.getOrCreateInstance(t).hide():t.classList.contains("collapsing")&&t.addEventListener("shown.bs.collapse",(()=>Os.getOrCreateInstance(t).hide()),{once:!0}))}))}))}))};l(Array.from(t.querySelectorAll(".filters-content > .collapse"))),l(Array.from(t.querySelectorAll(".filters-mobile .accordion-item > .collapse"))),t.querySelectorAll("button.deselect-all-filters").forEach((t=>{t.addEventListener("click",(t=>(t.preventDefault(),r(null),s.forEach((t=>{t.checked=!1})),null==i||i.dispatchEvent(new CustomEvent("click")),a(),!1)))}))};class yc{attachEventListeners(t){t.addEventListener("click",(e=>{if(document.getElementById("bioModalTemp"))return;const i=t.getAttribute("data-node-id"),s=t.getAttribute("data-component-id"),n=i||s;if(n){if(!/^[0-9]+$/.test(n))return void console.error("Invalid entity ID on bio trigger");e.preventDefault();const i=this.createTempModal();if(!i)return;const s=new yn(i);i.addEventListener("hidden.bs.modal",(()=>i.remove()),{once:!0}),s.show(),this.loadAndShowBio(n,t)}else console.error("No entity ID found on bio trigger")}))}createTempModal(){const t=document.getElementById("bioModal");if(!t)return console.error("bioModal template not found in the DOM."),null;const e=t.cloneNode(!0);return e?(e.id="bioModalTemp",document.body.appendChild(e),e):(console.error("bioModal template is empty."),null)}loadAndShowBio(t,e){const i=window.Drupal,s=encodeURIComponent(t),n=(null==e?void 0:e.hasAttribute("data-component-id"))?`/mangroup/component-bio/${s}`:`/mangroup/team-bio/${s}`,r=document.createElement("a");r.href=n,r.classList.add("use-ajax"),new i.Ajax(null,r,{url:n,event:"click",progress:{type:"none"},error:(t,e,i)=>{console.error("Error loading bio via Drupal AJAX:",{xhr:t,uri:e,customMessage:i})}}),r.click()}}function xc(t){(new yc).attachEventListeners(t)}const wc=t=>{var e;if(!t)return;t.classList.add("table");const i=()=>{const e=t.querySelector("tbody tr");if(!e)return!1;const i=e.querySelector("td, th");return i&&"th"===i.tagName.toLowerCase()};if(!(t.querySelectorAll("thead th").length>0||t.querySelectorAll("tbody th").length>0))return;t.classList.add("d-none","d-lg-table");const s=t=>{let e='<div class="card border rounded-1 fs-7 fs-lg-6 shadow-small">';return e+='<div class="p-4 d-flex flex-column gap-4">',t.forEach((({label:t,value:i})=>{e+='<div class="d-flex justify-content-between gap-4">',e+=`<div class="fw-600 text-blue text-align-left flex-shrink-0 w-50">${t}</div>`,e+=`<div class="text-align-left flex-grow-1">${i}</div>`,e+="</div>"})),e+="</div></div>",e},n=document.createElement("div");n.className="d-block d-lg-none";const r=document.createElement("div");r.className="row g-4";const o=document.createElement("div");o.className="col-12 d-flex flex-column gap-4",o.innerHTML=(()=>{const e=(()=>{const e=[],s=i(),n=t.querySelectorAll("thead th").length>0,r=t.querySelectorAll("tbody th").length>0;if(n&&r){const i=Array.from(t.querySelectorAll("thead th")).map((t=>{var e;return(null===(e=t.textContent)||void 0===e?void 0:e.trim())||""}));
45Array.from(t.querySelectorAll("tbody tr")).forEach((t=>{const s=Array.from(t.children).map(((t,e)=>({value:t.innerHTML.trim(),isHeader:0===e})));e.push({headers:i,values:s,firstColIsHeader:!0})}))}else if(s){const i=Array.from(t.querySelectorAll("tbody tr")),s=[],n=[];i.forEach(((t,e)=>{var i;const r=t.querySelector("th");r&&s.push((null===(i=r.textContent)||void 0===i?void 0:i.trim())||""),Array.from(t.querySelectorAll("td")).forEach(((t,i)=>{n[i]||(n[i]=[]),n[i][e]=t.innerHTML.trim()}))})),e.push({headers:s,values:n})}else{const i=Array.from(t.querySelectorAll("thead th")).map((t=>{var e;return(null===(e=t.textContent)||void 0===e?void 0:e.trim())||""}));Array.from(t.querySelectorAll("tbody tr")).forEach((t=>{const s=Array.from(t.querySelectorAll("td")).map((t=>t.innerHTML.trim()));e.push({headers:i,values:s})}))}return e})();if(1===e.length&&Array.isArray(e[0].headers)&&Array.isArray(e[0].values)&&e[0].headers.length>0&&e[0].values.length>0&&Array.isArray(e[0].values[0])){const t=e[0].headers,i=e[0].values;let n="";for(let e=0;e<i.length;e++){const r=t.map(((t,s)=>({label:t,value:i[e][s]||""})));n+=s(r)}return n}let n="";return e.forEach((t=>{const{headers:e,values:i,firstColIsHeader:r}=t;let o=[];o=r?i.map(((t,i)=>({label:e[i],value:t.value}))):e.map(((t,e)=>({label:t,value:i[e]||""}))),n+=s(o)})),n})(),r.appendChild(o),n.appendChild(r),null===(e=t.parentElement)||void 0===e||e.insertBefore(n,t.nextSibling);i()&&0===t.querySelectorAll("thead th").length&&t.querySelectorAll("th").forEach((t=>{t.classList.add("border-b-color")}))},Sc=(t,e)=>{if(!e.length)return;const i=Array.from(e).filter((t=>t.checked)).length;t.checked=i===e.length,t.indeterminate=i>0&&i<e.length},Ec=(t,e,i)=>{const s=[...Array.from(e),...Array.from(i)];if(!s.length)return;const n=s.filter((t=>t.checked)).length;t.checked=n===s.length,t.indeterminate=n>0&&n<s.length},Cc=t=>{const e=t.querySelector('input[type="submit"][name="submit"]'),i=e.dataset.ajaxCallback,s=e.dataset.requireCategoryMessage;i&&e.addEventListener("click",(n=>{n.preventDefault(),s&&((t,e)=>{const i=t.querySelectorAll('input[type="checkbox"][name^="categories["]');if(!i.length)return;const s=Array.from(i).some((t=>t.checked));i[0].setCustomValidity(s?"":e)})(t,s),t.reportValidity()&&e.dispatchEvent(new CustomEvent(i))}))},Ac=t=>{Pr("initSubscriptionForm",".insight-subscription-preferences-form",t).forEach((t=>{(t=>{const e=t.querySelector(".subscription-categories");if(!e)return;const i=e.querySelectorAll('input[type="checkbox"][data-subscription-parent]'),s=e.querySelectorAll('input[type="checkbox"][data-subscription-child]'),n=t.querySelector('input[type="checkbox"][name="select_deselect_all"]');i.forEach((t=>{const r=t.dataset.subscriptionParent,o=e.querySelectorAll(`input[type="checkbox"][data-subscription-child="${r}"]`);Sc(t,o),t.addEventListener("change",(()=>{o.forEach((e=>{e.checked=t.checked})),t.indeterminate=!1,n&&Ec(n,i,s)})),o.forEach((e=>{e.addEventListener("change",(()=>{Sc(t,o),n&&Ec(n,i,s)}))}))})),n&&(Ec(n,i,s),n.addEventListener("change",(()=>{i.forEach((t=>{t.checked=n.checked,t.indeterminate=!1})),s.forEach((t=>{t.checked=n.checked})),n.indeterminate=!1})))})(t),Cc(t)})),Pr("initSubscriptionForm",".insight-subscription-form",t).forEach((t=>{Cc(t)}))},Tc=t=>{const e=t.detail,i=e?document.getElementById(e):null,s=i?yn.getOrCreateInstance(i):null;null==s||s.show()},kc=()=>{window.addEventListener("openModal",Tc)},Mc=t=>{t.addEventListener("click",(async e=>{e.preventDefault();"href"===t.dataset.clicktocopy&&(await(async t=>{try{if(navigator.clipboard&&window.isSecureContext)return void await navigator.clipboard.writeText(t)}catch(t){}const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e);try{e.focus(),e.select(),document.execCommand("copy")}finally{document.body.removeChild(e)}})(t.href),t.blur())}))},Oc=t=>{const e=t.querySelector(".ai-usage__more"),i=t.querySelector(".ai-usage__popup");if(!e||!i)return;let s=!1;i.addEventListener("hide.bs.collapse",(()=>{s=i.contains(document.activeElement)})),i.addEventListener("hidden.bs.collapse",(()=>{s&&(e.focus(),s=!1)}))};var Lc=i(3101).A;Drupal.behaviors.digitalJS={attachOnce:(window[eh]||(window[eh]=!0,document.addEventListener("click",(t=>{const e=t.target;if(!e)return;const i=e.closest("a");if(!i)return;if(sh(i,t))return;const s=new URL(i.href,window.location.href);oh(location.href,s.href),nh()}),!0),window.addEventListener("showPageLoader",(t=>{const e=(t instanceof CustomEvent?t.detail:"")||"";oh(location.href,e),nh()})),window.addEventListener("keydown",(t=>{"Escape"===t.key&&ah()})),window.addEventListener("hashchange",(()=>{ih&&location.href===ih.fromHref&&ah()})),window.addEventListener("popstate",(()=>{ih&&"visible"===document.visibilityState&&ah()})),window.addEventListener("pageshow",(t=>{t.persisted&&(rh(),ih=null)})),document.addEventListener("visibilitychange",(()=>{ih&&"visible"===document.visibilityState&&location.href===ih.fromHref&&ah()}))),document.addEventListener("splash-modal:cancelled",(t=>{})),document.addEventListener("splash-modal:accepted",(t=>{})),!0),attach(t){try{ca((()=>{document.querySelectorAll(".children-margins").forEach((t=>{let e=null,i=null;t.querySelectorAll(":scope > *").forEach((t=>{t.classList.remove("is-empty","first-visible-child","last-visible-child"),t.textContent.trim()?(e||(e=t),i=t):t.classList.add("is-empty")})),e&&e.classList.add("first-visible-child"),i&&i.classList.add("last-visible-child")}));const t=[["body",ch],[".digital-article table",th],[".digital-article img",lh],[".slimSelect",pl],['[data-action="subscribe-section-accordions"]',jl],[".continent-country-selection-form .form-select",fl],[".slimMultiSelect",gl],['[data-action="subscribe-alert"]',da],['[data-action="subscribe-watchlist"]',fa],['[data-action="subscribe-login"]',ya],['[data-action="subscribe-tab-click"]',Ml],['[data-action="subscribe-tabs-load"]',Ol],['[data-action="subscribe-content-to-breakpoint"]',Fl],['[data-action="subscribe-carousel"]',ql],['[data-action="subscribe-scroll-to-top"]',Qa],["#page-builder
45-offcanvas-right",uh],["#page-builder-offcanvas-left",ph],[".navigation-component",Al],["a",wl],[".splash-social, .splash-other, .splash-other-man, .splash-language-switch",bl],["[data-simple-autocomplete]",tl],[".digital-navigation-mega",il],[".digital-navigation",nl],["nav[data-component-pager]",t=>Fr(t.parentElement)],["div[data-filter-query][data-filter-for]",Wo],[".grid-to-watch",dh],[No,Ho],["#custom-form-strategies-filter",gh],["[data-tippy-toggle]",cc],["[data-inline-editor-field=field_text_body] table, .paragraph-body table, .text-body table",wc],["#attestation",t=>{(new dc).initModal(t)}],[".digital-attestation-form",t=>{(new dc).initForm(t),(new mc).init(t)}],[".must-read-attestation",t=>(new vc).init(t)],[".digital-nav-auxiliary",gc],["form.views-exposed-form",bc],["[data-bio-modal-trigger]",xc],["a[data-clicktocopy]",Mc],[".ai-usage",Oc]];for(let e=0;e<t.length;e++){const[i,s]=t[e];once(i.replace(/[^a-zA-Z0-9-_:.]/g,"-").replace(".","-").replace(/^-+|-+$/g,"").replace(/--+/g,"-"),document.querySelectorAll(i)).forEach((async t=>{ca((async()=>{await s(t)}))}))}}),"actions"),ca((()=>{Ir(t)}),"initFetchAndReplace"),ca((()=>{(()=>{const t=document.querySelectorAll("sup, sub"),e=document.querySelector(".footnote");if(!e||"true"===e.getAttribute("data-initiated"))return;const i=new Map;t.forEach(((t,s)=>{var n,r;if(t.closest(".footnote"))return;const o=null===(n=t.textContent)||void 0===n?void 0:n.trim();if(!o)return;if(!Array.from((null===(r=e.textContent)||void 0===r?void 0:r.split("\n"))||[]).some((t=>t.trim().startsWith(`${o}.`))))return;const a=`fn-backref-${o}-${s}`;t.setAttribute("id",a),t.setAttribute("role","doc-noteref"),i.has(o)||i.set(o,[]),i.get(o).push(a);const l=document.createElement("a"),h=document.createElement("span");h.classList.add("sr-only"),h.textContent=Drupal.t("Footnote details for")+" "+o,l.setAttribute("href",`#fn-content-${o}`),l.setAttribute("aria-describedby",`fn-content-${o}`),t.replaceWith(l),l.appendChild(t),l.appendChild(h)})),e.querySelectorAll('[id^="fn-content-"]').forEach((t=>t.remove()));const s=(e.textContent||"").split("\n").map((t=>t.trim())).filter(Boolean);e.innerHTML="";for(const t of s){const i=t.match(/^([\w-]+)\.\s*(.*)/);if(!i){const i=document.createTextNode(t);e.appendChild(i),e.appendChild(document.createElement("br"));continue}const[s,n,r]=i,o=document.createElement("span");o.id=`fn-content-${n}`,o.setAttribute("role","doc-footnote"),o.setAttribute("tabindex","-1"),o.setAttribute("aria-label",`${Drupal.t("Footnote explanation")} ${n}. ${r}`),o.textContent=`${n}. ${r}`,e.appendChild(o),e.appendChild(document.createElement("br"))}e.setAttribute("data-initiated","true")})()}),"enhanceFootnotes"),ca((()=>{document.body.addEventListener("keydown",(t=>{if("Enter"!==t.key)return;const e=document.activeElement;if(!e)return;const i=e.tagName.toLowerCase();"a"===i||"button"===i||"input"===i||"textarea"===i||e.isContentEditable||e.classList.contains("ss-main")||e.click()}))}),"accessibleFocusInit"),ca((()=>{(t=>{ea.forEach((e=>{if(Pr("addJsValidationToAjaxForms",e,t).length>0){const t=Jo(ta(`${e}`));if(null===t||!("on"in t))return;t.on("form:submit",(t=>{var e;const i=new CustomEvent("ajaxSubmit",{bubbles:!0,cancelable:!1}),s=null===(e=t.element)||void 0===e?void 0:e.querySelector('input[type="submit"]');return s&&"drupal-ajax"===s.dataset.once?(s.dispatchEvent(i),!1):(console.error("From not processed by ajax script. Triggering regular submit."),t.element.submit(),!1)}))}}))})(t)}),"addJsValidationToAjaxForms"),ca((()=>{jo(t,drupalSettings.mangroup_charts)}),"initComponentCharts"),ca((()=>
45{if(!once("themeJs","body",t).length)return;/MSIE|Trident/.test(navigator.userAgent)&&document.documentElement.classList.add("old-browser")}),"isIE"),ca((()=>{void 0!==drupalSettings.mangroup&&void 0!==drupalSettings.mangroup.userUpdates&&na(drupalSettings.mangroup.userUpdates)}),"onUserUpdates"),ca((()=>{Ba()}),"initMenuPositioning"),ca((()=>{Wa(),window.addEventListener("resize",Wa),window.addEventListener("scroll",Br(Ha,100)),window.addEventListener("load",Ka),window.addEventListener("hashchange",Ka)}),"spyNav"),ca((()=>{Ya()}),"scrollableNavInit"),ca((()=>{(()=>{const t=aa("form.continent-country-selection-form");t.on("change",(()=>{t.serializeArray().some((t=>t.name.startsWith("continents")&&t.value))&&t.trigger("submit")}))})()}),"countryFormSubmit"),ca((()=>{(()=>{const t=document.querySelectorAll(".modal.show"),e=aa("body");t.length&&!e.hasClass(".modal-open")?e.addClass("modal-open"):e.removeClass("modal-open")})()}),"checkOpenModal"),ca((()=>{Jl()}),"initDisclosure"),ca((()=>{window.addEventListener("scroll",mh),window.addEventListener("resize",mh),window.addEventListener("load",mh),new MutationObserver(mh).observe(document.body,{childList:!0,subtree:!0})}),"updateContactButtonsPosition"),ca((()=>{!function(){const t=document.title,e=()=>{const e=window.location.hash.substring(1),i=e?document.getElementById(e):null;(null==i?void 0:i.dataset.pageTitle)||document.title===t?(null==i?void 0:i.dataset.pageTitle)&&(document.title=`${i.dataset.pageTitle} | ${t.split("|").pop().trim()}`):document.title=t};e(),window.addEventListener("hashchange",(t=>{e()}))}()})),ca((()=>{Ac(t)}),"initSubscriptionForm"),ca((()=>{kc()}),"createGlobalEventToOpenModal"),once("toggleDebugger",document.querySelectorAll(".app-footer__copy, .digital-footer-cl-rights")).forEach((t=>{t.addEventListener("click",(()=>{const t=document.getElementsByClassName("debug")[0];t&&(t.classList.contains("d-none")?t.classList.remove("d-none"):t.classList.add("d-none"))}))}))}catch(t){console.error(t),Lc(".loader--initial").fadeOut(600)}finally{Lc(".loader--initial").fadeOut(600)}}}})()})();
46
47(function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);;
48(function(window,settings){'use strict';window.MathJax=settings.mathjax.config;}(window,drupalSettings));;

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.